Skip to content

Instantly share code, notes, and snippets.

@simshanith
Last active April 25, 2016 19:34
Show Gist options
  • Save simshanith/66e025d83b71c3d257c03e5fdac74056 to your computer and use it in GitHub Desktop.
Save simshanith/66e025d83b71c3d257c03e5fdac74056 to your computer and use it in GitHub Desktop.
trap / event-elk
{
"host": "bear-i-089c37b8-trap",
"pname": "nginx",
"time": "25/Apr/2016:19:31:42 +0000",
"sev": "6",
"bytes_transferred": "3415",
"referer": "http://www.swagbucks.com/watch/video/923343/www.swagbucks.com/?cmd=co-get-watch-iframe&playlistid=1280&videoid=923343&type=5",
"request_method": "POST",
"remote_ip": "96.41.76.6",
"response_code": "200",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0",
"body": {
"_event": "MEDIA_ENDED",
"detail": {
"index": 0,
"model": {
"currentlyActive": true,
"hasCompleted": true,
"hasStarted": true,
"uuid": "94ed307d-00e4-468d-8736-782985b8c5f1",
"guid": "94ed307d-00e4-468d-8736-782985b8c5f1",
"freewheel_custom_asset_id": "0209814-ulive",
"title": "Tour the 'English Harbor' Rum Distillery in Antigua",
"description": "Sam and her friends tour Antigua's rum distillery, complete with a tasting.",
"author": "Travel",
"video_catalog_id": 564,
"date": "2014-08-01T03:00:00.000-07:00",
"image": "//videos.realgravity.com/947/content/359522/midsize_0209814.jpg",
"tags": "cruise,antigua,rum distillery,top picks,favorites,samantha brown,travel,rum tour,mixologist,sam brown",
"duration": 184,
"enable_ads": true,
"index": 1,
"category_name": "Travel",
"preferred_terms": "rum",
"lat": null,
"lng": null,
"provider": "http",
"aspect_ratio": 1.7777777777777777,
"file": "//videos.realgravity.com/947/content/359522/1541893-94ed307d-00e4-468d-8736-782985b8c5f1.mp4",
"media": {
"file": "//videos.realgravity.com/947/content/359522/1541893-94ed307d-00e4-468d-8736-782985b8c5f1.mp4",
"bitrate": 873,
"width": 476
},
{
"file": "//videos.realgravity.com/947/content/359522/1542051-94ed307d-00e4-468d-8736-782985b8c5f1.mp4",
"bitrate": 1528,
"width": 718
},
{
"file": "//videos.realgravity.com/947/content/359522/1542052-94ed307d-00e4-468d-8736-782985b8c5f1.mp4",
"bitrate": 434,
"width": 398
},
"brand": "Travel Channel",
"branding_url": "",
"talent": "Samantha Brown",
"series": "Samantha Brown's Great Weekends",
"captions": ,
"branded_content": false,
"beacons": {
"comscore": {
"c2": "15874254",
"c3": "{{playlist.category_name}}",
"c4": "{{rg_session.pagehost}}",
"c5": "02",
"c6": "{{playlist.series}}"
}
},
"sharing.link": "http://mediacast.realgravity.com/sharing/f0171423-f238-4f1e-b9ca-197fdab9f160/94ed307d-00e4-468d-8736-782985b8c5f1.html",
"allowed_countries": "AS",
"FM",
"GU",
"MH",
"MP",
"PH",
"PR",
"PW",
"UM",
"US",
"VI",
"segmentData": "01-01"
},
"player_id": "f0171423-f238-4f1e-b9ca-197fdab9f160",
"media": {
"video_id": "94ed307d-00e4-468d-8736-782985b8c5f1",
"catalog_id": 564,
"index": 1,
"branded_content": false
},
"requested_player_id": "f0171423-f238-4f1e-b9ca-197fdab9f160",
"requested_video_id": "94ed307d-00e4-468d-8736-782985b8c5f1",
"sv": true
},
"client": {
"user_id": "cingbwb2000022h5f90boiqdz",
"bridge_id": "cingebz0r00002h5fooqvct92",
"vvid": "cingec16n00032h5f02x1pi5y",
"page_id": "cingec04t00012h5f120fal9t",
"session_id": "cingbwb2100032h5fti2ojzk7",
"domain_id": "c0de49e3b1a27daf6c32bbd59575e701",
"tech_mode": "html5",
"tech_mode_support": {
"flash": true,
"html5": true
},
"ab_tests": {
"X-Mediacast-Test-Run": null,
"X-Mediacast-Test-Variation": null
},
"page_url": "http://www.swagbucks.com/watch/video/923343/www.swagbucks.com/?cmd=co-get-watch-iframe&playlistid=1280&videoid=923343&type=5",
"referrer_url": "http://www.swagbucks.com/watch/playlist/1280/Samantha-Browns-Great-Weekends"
},
"sequence": {
"timestamp": "2016-04-25T19:31:41.582Z"
},
"version": "v1.0.62-0-96461e0"
}
}
[{
"_event": "MEDIA_ENDED",
"detail": {
"index": 0,
"model": {
"currentlyActive": true,
"hasCompleted": true,
"hasStarted": false,
"uuid": "0ee6c2d2-0fd2-442b-b7b0-4752e18e2280",
"guid": "0ee6c2d2-0fd2-442b-b7b0-4752e18e2280",
"freewheel_custom_asset_id": "0000001-ulive",
"title": "Bimini, Bahamas: Adventure",
"description": "Ben is in Bimini for our \"adventure\" episode.",
"author": "Venue Long Form Catalog",
"video_catalog_id": 999,
"date": "2015-08-19T00:00:00.000-07:00",
"image": "//videos.realgravity.com/1649/content/374105/midsize_1605157-thumbnail-2.jpg",
"tags": "fish; techniques; recipes; how to; ben sargent; hook, line & dinner; cooking channel, 1442196, 0179703, Hook, Line & Dinner, CCSFD, Bimini, Bahamas: Adventure, 213H, Ben Sargent",
"duration": 1198,
"enable_ads": true,
"index": 9,
"category_name": "Food and Drink",
"preferred_terms": ["recipes"],
"lat": 25.7547,
"lng": -79.2538,
"provider": "http",
"aspect_ratio": 1.7761194029850746,
"file": "//videos.realgravity.com/1649/content/374105/1605157-0ee6c2d2-0fd2-442b-b7b0-4752e18e2280.mp4",
"media": [{
"file": "//videos.realgravity.com/1649/content/374105/1605157-0ee6c2d2-0fd2-442b-b7b0-4752e18e2280.mp4",
"bitrate": 778,
"width": 476
}, {
"file": "//videos.realgravity.com/1649/content/374105/1605158-0ee6c2d2-0fd2-442b-b7b0-4752e18e2280.mp4",
"bitrate": 407,
"width": 398
}],
"brand": null,
"branding_url": "http://qa.venue.rgops.com/latest/",
"talent": "Ben Sargent",
"series": "Hook, Line & Dinner",
"captions": [{
"url": "//videos.realgravity.com/1649/content/374105/bimini.srt",
"label": "English",
"language": "EN",
"format": "SRT",
"default": true
}, {
"url": "//videos.realgravity.com/1649/content/374105/bimini.vtt",
"label": "English",
"language": "EN",
"format": "VTT",
"default": true
}],
"long_form_content": true,
"branded_content": false,
"beacons": {
"comscore": [{
"c2": "11111111",
"c3": "{{playlist.category_name}}",
"c4": "{{rg_session.pagehost}}",
"c5": "03",
"c6": "{{video_title}}"
}]
},
"sharing.link": "http://mediacast.realgravity.com/sharing/e7869607-85d4-43f7-93d5-959a29690495/0ee6c2d2-0fd2-442b-b7b0-4752e18e2280.html",
"segmentData": "04-04"
},
"player_id": "e7869607-85d4-43f7-93d5-959a29690495",
"media": {
"video_id": "0ee6c2d2-0fd2-442b-b7b0-4752e18e2280",
"catalog_id": 999,
"index": 9,
"branded_content": false
},
"requested_player_id": "e7869607-85d4-43f7-93d5-959a29690495",
"sv": false
},
"client": {
"user_id": "cimcbc1xw00023j5jhrjn9kmr",
"bridge_id": "cingcwmgz00003j5kv8zecn3g",
"vvid": "cingcwog100043j5krzw6utoq",
"page_id": "cingcwn0r00013j5ks3b4augc",
"session_id": "cimcbc1xw00033j5jnpjb4sao",
"domain_id": "ee02ce50a9a64145865146dbb9909e59",
"tech_mode": "flash",
"tech_mode_support": {
"flash": true,
"html5": true
},
"ab_tests": {
"X-Mediacast-Test-Run": null,
"X-Mediacast-Test-Variation": null
},
"page_url": "http://player.ulive.com/assets/apps/test-harness.html"
},
"sequence": {
"timestamp": "2016-04-25T18:48:46.006Z"
},
"version": "v1.0.62-0-96461e0"
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment