Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chasers/a0a97901f42c034820e4c5a0e73bb4df to your computer and use it in GitHub Desktop.
Save chasers/a0a97901f42c034820e4c5a0e73bb4df to your computer and use it in GitHub Desktop.
What the log event for the Logflare Cloudflare app looks like.
{
"logflare_worker": {
"version": "1.0.2",
"worker_id": "RXJD9X",
"worker_started": "2021-04-13T13:36:18.848Z"
},
"request": {
"cf": {
"asn": 15169,
"clientAcceptEncoding": "gzip,deflate,br",
"clientTcpRtt": 19,
"colo": "EWR",
"continent": "NA",
"country": "US",
"edgeRequestKeepAliveStatus": 1,
"httpProtocol": "HTTP/1.1",
"latitude": "37.75100",
"longitude": "-97.82200",
"timezone": "America/Chicago",
"tlsCipher": "AEAD-AES128-GCM-SHA256",
"tlsClientAuth": {
"certPresented": "0",
"certRevoked": "0",
"certVerified": "NONE"
},
"tlsExportedAuthenticator": {
"clientFinished": "651c19744846ca2d61f16f0d37abfb800b035684eb6dce7ea325506128f9fd10",
"clientHandshake": "8abea573836d8a89b1ed097553fc4b67b5c2c77b77a4430500012c5b1358fb8f",
"serverFinished": "17df52b6a39552c590b14419b9093187684eb4e3640ec4f3c65def52cdcb60fe",
"serverHandshake": "9a81ed09165380419115b545bb2d7c7bc097ba1816cda41fff152d803bbec763"
},
"tlsVersion": "TLSv1.3"
},
"headers": {
"accept": "text/html,application/xhtml+xml,application/signed-exchange;v=b3,application/xml;q=0.9,*/*;q=0.8",
"accept_encoding": "gzip",
"amp_cache_transform": "google;v=\"1..6\"",
"cf_connecting_ip": "66.249.64.203",
"cf_ipcountry": "US",
"cf_ray": "63f516532944555f",
"cf_request_id": "096d0c47fb0000555f09b14000000001",
"cf_visitor": "{\"scheme\":\"https\"}",
"connection": "Keep-Alive",
"from": "googlebot(at)googlebot.com",
"host": "www.elixirphoenixratelimiter.com",
"user_agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.127 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
"x_forwarded_proto": "https",
"x_real_ip": "66.249.64.203"
},
"method": "GET",
"url": "https://www.elixirphoenixratelimiter.com/?session_id=360b96a0-a5a5-4a6c-859c-64ef7e073135"
},
"response": {
"headers": {
"cache_control": "max-age=0, no-cache, no-store, must-revalidate, post-check=0, pre-check=0",
"cf_cache_status": "DYNAMIC",
"cf_ray": "63f51653374f555f-EWR",
"cf_request_id": "096d0c48060000555fe5bdc000000001",
"connection": "keep-alive",
"content_type": "text/html; charset=utf-8",
"cross_origin_window_policy": "deny",
"date": "Tue, 13 Apr 2021 13:37:07 GMT",
"expect_ct": "max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"",
"server": "cloudflare",
"set_cookie": "_phx_limit_key=SFMyNTY.g3QAAAACbQAAAAtfY3NyZl90b2tlbm0AAAAYTFN1WUZEemxtbVBKd1NkODBFRG41eWtIbQAAAApzZXNzaW9uX2lkbQAAACQzNjBiOTZhMC1hNWE1LTRhNmMtODU5Yy02NGVmN2UwNzMxMzU.nw6XnmX4vbdNt34Tc_zREEPHInfGaodW9T7jm5o3B48; path=/; HttpOnly",
"transfer_encoding": "chunked",
"vary": "Accept-Encoding, x-requested-with",
"x_content_type_options": "nosniff",
"x_download_options": "noopen",
"x_frame_options": "SAMEORIGIN",
"x_permitted_cross_domain_policies": "none",
"x_request_id": "c5a3dd6b6678991cdf3b8f5d74e68fd8",
"x_xss_protection": "1; mode=block"
},
"origin_time": 77,
"status_code": 200
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment