Browse Source

Update JSON results in EQL docs

Costin Leau 5 years ago
parent
commit
d6731d659d
1 changed files with 20 additions and 10 deletions
  1. 20 10
      docs/reference/eql/search.asciidoc

+ 20 - 10
docs/reference/eql/search.asciidoc

@@ -99,14 +99,14 @@ https://en.wikipedia.org/wiki/Unix_time[Unix epoch], in ascending order.
             "path": "C:\\Windows\\System32\\cmd.exe"
           }
         },
-        "sort": [
-          1607252645000
-        ],
         "fields": {
           "@timestamp": [
             "1607252645000"
           ]
-        }
+        },        
+        "sort": [
+          1607252645000
+        ]
       },
       {
         "_index": "sec_logs",
@@ -127,14 +127,14 @@ https://en.wikipedia.org/wiki/Unix_time[Unix epoch], in ascending order.
             "path": "C:\\Windows\\System32\\cmd.exe"
           }
         },
-        "sort": [
-          1607339167000
-        ],
         "fields": {
           "@timestamp": [
             "1607339167000"
           ]
-        }
+        },
+        "sort": [
+          1607339167000
+        ]
       }
     ]
   }
@@ -500,11 +500,16 @@ tiebreaker for events with the same timestamp.
             "path": "C:\\Windows\\System32\\cmd.exe"
           }
         },
+        "fields": {
+          "@timestamp": [
+            "1607252645000"
+          ]
+        },
         "sort": [
           1607252645000,                                <1>
           "edwCRnyD"                                    <2>
-        ]
-      },
+          ]
+        },
             {
         "_index": "sec_logs",
         "_id": "3",
@@ -524,6 +529,11 @@ tiebreaker for events with the same timestamp.
             "path": "C:\\Windows\\System32\\cmd.exe"
           }
         },
+        "fields": {
+          "@timestamp": [
+            "1607339167000"
+          ]
+        },
         "sort": [
           1607339167000,                                <1>
           "cMyt5SZ2"                                    <2>