-
Notifications
You must be signed in to change notification settings - Fork 439
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stormshield] Fix timestamp fields, move stormshield.msg to message (#…
…11177) - Use stormshield.time for @timestamp - Use stormshield.starttime for event.start - Move stormshield.msg to message - Release integration as GA
- Loading branch information
1 parent
20a5f19
commit bde6b51
Showing
7 changed files
with
243 additions
and
324 deletions.
There are no files selected for viewing
This file contains 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
211 changes: 90 additions & 121 deletions
211
packages/stormshield/data_stream/log/_dev/test/pipeline/test-firewall.log-expected.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,118 +1,83 @@ | ||
{ | ||
"@timestamp": "2024-03-08T10:14:08.000Z", | ||
"agent": { | ||
"name": "ubuntu", | ||
"id": "4ef1feb0-bb75-4728-9415-c84920a76292", | ||
"ephemeral_id": "fbc0ca2c-7300-45ce-84b1-6ece2bc46905", | ||
"id": "e0b60804-99ad-435e-865c-35384901d186", | ||
"name": "elastic-agent-45518", | ||
"type": "filebeat", | ||
"ephemeral_id": "713a4ebd-2cc4-47dd-9940-b836b1612470", | ||
"version": "8.11.4" | ||
"version": "8.14.1" | ||
}, | ||
"process": { | ||
"name": "asqd" | ||
"data_stream": { | ||
"dataset": "stormshield.log", | ||
"namespace": "65295", | ||
"type": "logs" | ||
}, | ||
"ecs": { | ||
"version": "8.11.0" | ||
}, | ||
"elastic_agent": { | ||
"id": "e0b60804-99ad-435e-865c-35384901d186", | ||
"snapshot": false, | ||
"version": "8.14.1" | ||
}, | ||
"event": { | ||
"agent_id_status": "verified", | ||
"dataset": "stormshield.log", | ||
"ingested": "2024-09-18T14:01:36Z", | ||
"original": "id=firewall time=\"2024-03-08 10:14:08\" fw=\"stormy-1\" tz=+0000 startime=\"2024-03-08 10:14:08\" error=0 user=\"admin\" address=192.168.197.1 sessionid=1 msg=\"PKI SEARCH scope=local type=ca\" logtype=\"server\"", | ||
"start": "2024-03-08T10:14:08.000Z", | ||
"timezone": "+00:00" | ||
}, | ||
"input": { | ||
"type": "tcp" | ||
}, | ||
"log": { | ||
"source": { | ||
"address": "192.168.197.134:17502" | ||
"address": "172.27.0.3:40024" | ||
}, | ||
"syslog": { | ||
"severity": { | ||
"code": 6, | ||
"name": "Informational" | ||
}, | ||
"hostname": "stormy-1", | ||
"appname": "asqd", | ||
"priority": 14, | ||
"version": "1", | ||
"appname": "serverd", | ||
"facility": { | ||
"code": 1, | ||
"name": "user-level" | ||
} | ||
}, | ||
"hostname": "stormy-1", | ||
"priority": 13, | ||
"severity": { | ||
"code": 5, | ||
"name": "Notice" | ||
}, | ||
"version": "1" | ||
} | ||
}, | ||
"elastic_agent": { | ||
"id": "4ef1feb0-bb75-4728-9415-c84920a76292", | ||
"version": "8.11.4", | ||
"snapshot": false | ||
}, | ||
"destination": { | ||
"geo": { | ||
"country_iso_code": "gb" | ||
}, | ||
"port": 80, | ||
"ip": "185.125.190.48", | ||
"domain": "connectivity-check.ubuntu.com" | ||
}, | ||
"rule": { | ||
"id": "7" | ||
}, | ||
"source": { | ||
"geo": { | ||
"country_iso_code": "au" | ||
}, | ||
"as": { | ||
"number": 1221, | ||
"organization": { | ||
"name": "Telstra Pty Ltd" | ||
} | ||
}, | ||
"port": 33828, | ||
"bytes": 0, | ||
"ip": "1.128.7.128", | ||
"mac": "00-0C-29-8D-6C-55" | ||
}, | ||
"tags": [ | ||
"forwarded" | ||
], | ||
"network": { | ||
"protocol": "http", | ||
"transport": "tcp", | ||
"type": "ipv4" | ||
}, | ||
"input": { | ||
"type": "udp" | ||
}, | ||
"message": "PKI SEARCH scope=local type=ca", | ||
"observer": { | ||
"name": "stormy-1", | ||
"type": "firewall", | ||
"vendor": "Stormshield" | ||
}, | ||
"@timestamp": "2024-06-06T04:32:19.000Z", | ||
"ecs": { | ||
"version": "8.11.0" | ||
}, | ||
"data_stream": { | ||
"namespace": "default", | ||
"type": "logs", | ||
"dataset": "stormshield.log" | ||
"related": { | ||
"user": [ | ||
"admin" | ||
] | ||
}, | ||
"stormshield": { | ||
"fw": "stormy-1", | ||
"logtype": "server", | ||
"metadata": { | ||
"confid": "01", | ||
"slotlevel": "2", | ||
"dstcontinent": "eu", | ||
"srcname": "vm-internal", | ||
"pri": "5", | ||
"dstportname": "http", | ||
"rcvd": "0", | ||
"address": "192.168.197.1", | ||
"error": "0", | ||
"id": "firewall", | ||
"srccontinent": "oc", | ||
"srcportname": "ephemeral_fw_tcp", | ||
"sent": "0" | ||
"sessionid": "1" | ||
}, | ||
"tz": "+0000", | ||
"srcifname": "segment0", | ||
"srcif": "Ethernet1", | ||
"fw": "stormy-1", | ||
"logtype": "filter", | ||
"dstif": "Ethernet0", | ||
"dstifname": "out", | ||
"startime": "2024-06-06 04:32:19", | ||
"time": "2024-06-06 04:32:19" | ||
"startime": "2024-03-08 10:14:08", | ||
"time": "2024-03-08 10:14:08" | ||
}, | ||
"event": { | ||
"duration": 0, | ||
"agent_id_status": "verified", | ||
"ingested": "2024-06-06T04:33:16Z", | ||
"timezone": "+00:00", | ||
"created": "2024-06-06T04:32:19.000Z", | ||
"action": "pass", | ||
"dataset": "stormshield.log" | ||
"tags": [ | ||
"preserve_original_event", | ||
"forwarded" | ||
], | ||
"user": { | ||
"name": "admin" | ||
} | ||
} | ||
} |
Oops, something went wrong.