Here is one of the returned documents. Note that the correlationid 159ad2fc-0144-4d7c-a3d2-1539666cd7cf
is not in the terms array.
{
"_index" : "unity-2022.05.28-000044",
"_type" : "_doc",
"_id" : "8rUnCIEBz8iVD5dbH4b3",
"_score" : 5.886705,
"_ignored" : [
"message.keyword"
],
"_source" : {
"@timestamp" : "2022-05-28T00:53:08.353Z",
"ecs" : {
"version" : "1.12.0"
},
"serviceComponent" : null,
"serverIp" : "192.168.0.1",
"requestId" : null,
"result" : "Checkin successful.",
"serviceVersion" : "2.0.0",
"category" : "SERVICE",
"details" : "Service instance registered: default.serviceworker.prod.2.0.0.7957389e4b0f08ecd7d4cdb2f9bde808",
"serverPort" : {REMOVED},
"serviceProcessId" : 6468,
"serviceRealm" : null,
"resultReason" : null,
"serviceEnvironment" : "X",
"severity" : "info",
"class" : "INSTANCE.REGISTRATION",
"action" : "put",
"duration" : 0,
"host" : {
"name" : "PSERVER_ONE"
},
"identity" : "SYSTEM",
"serviceName" : "Serviceworker",
"schemaVersion" : 1,
"correlationId" : "159ad2fc-0144-4d7c-a3d2-1539666cd7cf",
"messageRole" : null,
"requestRole" : null,
"input" : {
"type" : "log"
},
"target" : "{REMOVED}",
"msource" : "registry.ts",
"serverName" : "SERVER_ONE",
"identityDelegate" : null,
"dataClassification" : "CONFIDENTIAL",
"timestamp" : "2022-05-28T00:53:07.193Z",
"agent" : {
"hostname" : "SERVER_ONE",
"ephemeral_id" : "94258ab1-6508-406b-a434-4729e1abb9cb",
"id" : "3d9b3d93-8f87-4156-8f8e-1edf2e31d3cc",
"name" : "SERVER_ONE",
"type" : "filebeat",
"version" : "7.16.2"
},
"correlationRole" : "PARTICIPANT",
"clientIp" : null,
"log" : {
"offset" : 6753369,
"file" : {
"path" : "LOG FILE PATH"
}
},
"message" : """{"schemaVersion":1,"timestamp":"2022-05-28T00:53:07.193Z","severity":"info","details":"Service instance registered: default.serviceworker.prod.2.0.0.7957389e4b0f08ecd7d4cdb2f9bde808","clientIp":null,"serverName":"SERVER_ONE","serverIp":"192.168.0.1","serviceComponent":null,"serviceProcessId":6468,"serviceRealm":null,"identity":"SYSTEM","identityDelegate":null,"correlationId":"159ad2fc-0144-4d7c-a3d2-1539666cd7cf","correlationRole":"PARTICIPANT","requestId":null,"requestRole":null,"messageId":null,"messageRole":null,"category":"SERVICE","class":"INSTANCE.REGISTRATION","action":"put","target":"instance","result":"Checkin successful.","dataClassification":"CONFIDENTIAL","resultReason":null,"duration":0,"source":"registry.ts","serverPort":33018,"serviceName":"serviceworker","serviceVersion":"2.0.0","serviceEnvironment":"X"}""",
"messageId" : null
}
}
The top part is
{
"took" : 3804,
"timed_out" : false,
"_shards" : {
"total" : 110,
"successful" : 110,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 10000,
"relation" : "gte"
},
"max_score" : 5.886705,
"hits" : [
{
"_index" : "unity-2022.05.28-000044",
"_type" : "_doc",
"_id" : "k7UjCIEBz8iVD5dbdWZL",
"_score" : 5.886705,
"_ignored" : [
"message.keyword"
],