Skip to content

Instantly share code, notes, and snippets.

@skyeagle
Created September 10, 2021 20:46
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 skyeagle/a9ee46a3a6c2d0d3eaabd887db1927eb to your computer and use it in GitHub Desktop.
Save skyeagle/a9ee46a3a6c2d0d3eaabd887db1927eb to your computer and use it in GitHub Desktop.
Log examples
{
"id": "AQAAAXvRdDmtrO4k0wAAAABBWHZSZEQyT0FBRFFaQXBpTEtzemxBQUU",
"content": {
"timestamp": "2021-09-10T20:44:20.269Z",
"tags": [
"container_name:homebase1",
"source:undefined",
"task_version:31",
"cluster_name:g5-production-cluster",
"region:us-west-2",
"task_arn:g5-production-cluster/187628179eb6498e9cb3318f74cd31f3",
"env:production",
"container_id:187628179eb6498e9cb3318f74cd31f3-1746667910",
"task_family:g5-production-homebase1-ecs-tsk-family"
],
"service": "rails",
"attributes": {
"status": 200,
"cn": "Mobile Safari",
"ip": "162.195.60.237",
"osn": "iOS",
"an": "employee_ios",
"at": "U",
"controller_and_action": "Api::V3::DevicesController#create_or_update",
"av": "3.73",
"duration": 91.58,
"cv": "",
"lid": 1266179,
"clc": 2,
"tid": "187628179eb6498e9cb3318f74cd31f3",
"method": "POST",
"dn": "iPhone",
"lec": 26,
"dd": {
"version": "dd70d2b1",
"env": "production",
"service": "rails"
},
"db": 32.91,
"controller": "Api::V3::DevicesController",
"path": "/api/v3/locations/1280927/devices.json",
"dt": "smartphone",
"osv": "14.7.1",
"cid": 1173894,
"action": "create_or_update",
"aid": 12292175,
"view": 0,
"jid": 12534678,
"cec": 45,
"service": "rails",
"format": "json",
"rti": "146667e56f939f356bc7926a",
"pri": 2,
"ts": "2021-09-10 20:44:20 UTC",
"source": "stdout",
"params": {
"device": {
"platform": "iOS",
"version": "3.73",
"user_id": 12292175,
"device_id": "7F705773-D8DE-455D-8358-936024378C4D"
},
"location_id": "1280927"
},
"timestamp": 1631306660269
}
}
}
{
"id": "AQAAAXvRdfgqE58mxwAAAABBWHZSZGZ2MEFBQUl1allraEdLTXl3QUU",
"content": {
"timestamp": "2021-09-10T20:46:14.570Z",
"tags": [
"container_name:homebase1",
"source:undefined",
"task_version:31",
"cluster_name:g5-production-cluster",
"region:us-west-2",
"container_id:9636a75ac6c2490389b188df00ea2a61-1746667910",
"env:production",
"task_arn:g5-production-cluster/9636a75ac6c2490389b188df00ea2a61",
"task_family:g5-production-homebase1-ecs-tsk-family"
],
"service": "rails",
"attributes": {
"status": 200,
"cn": "Mobile Safari",
"ip": "172.58.92.95",
"osn": "iOS",
"an": "employee_ios",
"at": "U",
"controller_and_action": "Api::V4::Messaging::ReactionsController#index",
"av": "3.73",
"duration": 127.14,
"cv": "",
"lid": 978330,
"clc": 1,
"tid": "9636a75ac6c2490389b188df00ea2a61",
"method": "GET",
"dn": "iPhone",
"lec": 152,
"dd": {
"version": "dd70d2b1",
"env": "production",
"service": "rails"
},
"db": 63.14,
"controller": "Api::V4::Messaging::ReactionsController",
"path": "/api/v4/messaging/reactions",
"dt": "smartphone",
"osv": "14.7.1",
"cid": 913491,
"action": "index",
"aid": 10622985,
"view": 0.25,
"jid": 10735219,
"cec": 152,
"service": "rails",
"format": "json",
"rti": "3fc555dc57a41d2f451cecbf",
"pri": 2,
"ts": "2021-09-10 20:46:14 UTC",
"source": "stdout",
"timestamp": 1631306774570
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment