This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <b>How do you feel about our support?</b><br><table cellpadding="4"><tr><td><a href="https://www.temper.io/q/jhfnbulv/r/1" style="background:#e9565c;display:block;width:44px;height:44px;max-height:44px;border:0;"><img alt="Rate: Bad" border="0" height="44" src="https://temper.io/negative.png" width="44"/></a></td><td><a href="https://www.temper.io/q/jhfnbulv/r/2" style="background:#e9c079;display:block;width:44px;height:44px;max-height:44px;border:0;"><img alt="Rate: Neutral" border="0" height="44" src="https://temper.io/neutral.png" width="44"/></a></td><td><a href="https://www.temper.io/q/jhfnbulv/r/3" style="background:#5bca83;display:block;width:44px;height:44px;max-height:44px;border:0;"><img alt="Rate: Good" border="0" height="44" src="https://temper.io/positive.png" width="44"/></a></td></tr></table> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule Logflare.DeepMergeTest do | |
| # this works: DeepMerge.deep_merge(%{a: %{b: 1}, c: [d: 1]}, %{a: %{z: 5}, c: [x: 0]}) | |
| def merge() do | |
| DeepMerge.deep_merge(newschema().fields, oldschema().fields) | |
| end | |
| def newschema do | |
| %{ | |
| fields: [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema":"http://json.schemastore.org/install", | |
| "workers":[ | |
| { | |
| "src":"./build/worker.js" | |
| } | |
| ], | |
| "hooks":[ | |
| { | |
| "endpoint":"http://dev.chasegranberry.net/webhooks/cloudflare/v1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %{ | |
| "app" => %{ | |
| "adminVisible" => false, | |
| "agreements" => nil, | |
| "alias" => "", | |
| "author" => "", | |
| "categoryIds" => nil, | |
| "codeVersion" => "", | |
| "color" => "", | |
| "created" => nil, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %{ | |
| "install" => %{ | |
| "active" => true, | |
| "amount" => 0, | |
| "appId" => "local", | |
| "created" => nil, | |
| "deactivatedAt" => nil, | |
| "deleted" => false, | |
| "id" => "FJj9ri2UtwIv", | |
| "installerUserId" => "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def event(conn, params) do | |
| user_token = params["authentications"]["account"]["token"]["token"] | |
| response = | |
| build_response(conn, user_token) | |
| |> Jason.encode!() | |
| conn | |
| |> put_resp_content_type("application/json") | |
| |> send_resp(200, response) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [INPUT] | |
| Name tail | |
| Path /var/log/system.log | |
| [OUTPUT] | |
| Name http | |
| Match * | |
| tls On | |
| tls.verify Off | |
| Host api.logflare.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "deploymentId": "dpl_8zVeEFAnYTXLoBT8XYMgLVbc1Rpi", | |
| "host": "pino-logflare-nextjs-vercel-example-7duieexku.vercel.app", | |
| "id": "1595492268532915653954269765", | |
| "message": "START RequestId: 4148955a-4bf6-4ae9-8736-95826ac8a414 Version: $LATEST\n{\"metadata\":{\"env\":\"production\",\"request\":{\"headers\":{\"host\":\"pino-logflare-nextjs-vercel-example.now.sh\",\"x_forwarded_host\":\"pino-logflare-nextjs-vercel-example.now.sh\",\"accept\":\"*/*\",\"x_vercel_deployment_url\":\"pino-logflare-nextjs-vercel-example-7duieexku.vercel.app\",\"x_forwarded_proto\":\"https\",\"x_real_ip\":\"54.36.148.90\",\"accept_encoding\":\"deflate, gzip, br\",\"user_agent\":\"Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/)\",\"x_vercel_forwarded_for\":\"54.36.148.90\",\"x_forwarded_for\":\"54.36.148.90\",\"x_nextjs_page\":\"/index\",\"x_vercel_id\":\"lhr1::95xl7-1595492267523-aebd6fdc73fb\",\"connection\":\"close\"},\"url\":\"/\",\"method\":\"GET\"},\"response\":{\"statusCode\":200},\"context\":{},\"level |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT * FROM `logflare-232118.[ID]_prod.[SOURCE_UUID_UNDERSCORE]` | |
| WHERE DATE(_PARTITIONTIME) | |
| BETWEEN PARSE_DATE('%Y%m%d', @DS_START_DATE) | |
| AND PARSE_DATE('%Y%m%d', @DS_END_DATE) | |
| OR _PARTITIONTIME IS null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -X "POST" "https://api.logflare.app/logs/json?source=2fd57445-1da3-4f3b-aa29-73da06ed7e67" \ | |
| -H 'Content-Type: application/json; charset=utf-8' \ | |
| -H 'X-API-KEY: YOUR_KEY' \ | |
| -d $'[ | |
| { | |
| "yellow": true, | |
| "tags": [ | |
| "popular, tropical, organic" | |
| ], | |
| "store": { |