Last active
October 6, 2017 22:48
-
-
Save sirkirby/3e378cf3507c5a475b4bc915774fd4fb to your computer and use it in GitHub Desktop.
Example event payload generated from serilog event grid sink
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
{ | |
"id": "85a69262-5b1a-43e5-80d9-af6c98c7ba49", | |
"eventType": "importComplete", | |
"subject": "myApp/myLogic/900000", | |
"eventTime": "2017-10-05T20:47:58.2488847Z", | |
"data": [ | |
{ | |
"key": "recordCount", | |
"value": 1452 | |
}, | |
{ | |
"key": "User", | |
"value": { | |
"id": "999999", | |
"name": "Damon Jones", | |
"isActive": true | |
} | |
}, | |
{ | |
"key": "MachineName", | |
"value": "AppServer2" | |
}, | |
{ | |
"key": "ProcessId", | |
"value": 6312 | |
}, | |
{ | |
"key": "ProcessName", | |
"value": "MyImportService" | |
}, | |
{ | |
"key": "LogMessage", | |
"value": "Processing completed {@recordCound}" | |
} | |
], | |
"topic": "/SUBSCRIPTIONS/99999999/RESOURCEGROUPS/MY-CUSTOM-TOPIC-WEST2/PROVIDERS/MICROSOFT.EVENTGRID/TOPICS/MY-CUSTOM-TOPIC" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment