Microsoft Azure Event Hub example log and field mapping

Prev Next

Microsoft Event Hubs can contain and serve any text-based event data. The sample log and field mapping shown here are examples of one of those types.

Log sample

This is a sample log from a device:

{
"category": "WorkflowRuntime",
"level": "Error",
"operationName": "Microsoft.Logic/workflows/workflowActionCompleted",
"properties": {
"code": "BadGateway",
"correlation": {
"actionTrackingId": "12345678-1234-1234-1234-123456789012",
"clientTrackingId": "12345678901234567890"
}
"endTime": "2016-07-15T00:00:22. 123456Z ",
"resource": {
"actionName": "Send_email",
"location": "westus",
"resourceGroupName": "RG_TEST",
"runId": "12345678901234567890",
"subscriptionId": "87654321-4321-4321-4321-123456789012", "workflowId": "12345678901234567890123456789012",
"workflowName": "WF_TEST"
},
"schema": "schema_name",
"startTime": "2016-07-15T00:00:01.123456Z",
"status": "Failed"
},
"resourceId": "/SUBSCRIPTIONS/12345678-1234-1234-1234-123456789012/RESOURCEGROUPS/RG_TEST/PROVIDERS/
MICROSOFT.LOGIC/WORKFLOWS/WF_TEST/RUNS/12345678901234567890/ACTIONS/SEND_EMAIL", "time": "2016-07-15T18:00:22.6235064Z",
"workflowId": "/SUBSCRIPTIONS/12345678-1234-1234-1234-123456789012/RESOURCEGROUPS/RG_TEST/PROVIDERS/
MICROSOFT.LOGIC/WORKFLOWS/WF_TEST"
}

Field mapping

This table shows the mapping between the data source and Trellix ESM fields.

Log fields

Trellix ESM fields

category + opName

sigid

opName + properties.resource.actionName

msg

Category

Category

Time

firsttime lasttime

Level

severity

properties.status

action

properties.status

Status

properties.code

Return_Code

properties.resource.actionName

Description