-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIlebeat] add strict_date_optional_time_nanos date format to PanOS m…
…odule (#26158) (#26525) * #26033: add strict_date_optional_time_nanos format * update changelog * added new sample log, need to check CSV parsing * update sample data Co-authored-by: Marius Iversen <marius.iversen@elastic.co> Co-authored-by: Alex Resnick <adr8292@gmail.com> Co-authored-by: Marius Iversen <marius.iversen@elastic.co>
- Loading branch information
1 parent
86352bf
commit 9c89a29
Showing
6 changed files
with
130 additions
and
16 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
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Oct 30 09:46:42 1,2021-05-26T16:27:07.000000Z,no-serial,TRAFFIC,end,9.1,2021-05-26T16:26:47.000000Z,127.0.0.0,127.0.0.1,0.0.0.0,0.0.0.0,intrazone-default,,,web-browsing,vsys1,untrust,untrust,ethernet1/1,ethernet1/1,Cortex Data Lake,,688290,1,35834,443,35834,20077,0x1400070,tcp,allow,7291,1696,5595,21,2021-05-26T16:26:30.000000Z,1,medium-risk,,620386,0x8800000000000000,US,SG,,14,7,tcp-fin,22,18,0,0,,GP cloud service,from-policy,,,0,,0,1970-01-01T00:00:00.000000Z,N/A,0,0,0,0,6a2f6161-88f2-4afc-8dd5-256bc4505a64,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, |
106 changes: 106 additions & 0 deletions
106
x-pack/filebeat/module/panw/panos/test/traffic_nanos_time.log-expected.json
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 |
---|---|---|
@@ -0,0 +1,106 @@ | ||
[ | ||
{ | ||
"@timestamp": "2021-05-26T16:26:47.000Z", | ||
"client.bytes": 1696, | ||
"client.ip": "127.0.0.0", | ||
"client.nat.ip": "0.0.0.0", | ||
"client.nat.port": 35834, | ||
"client.packets": 14, | ||
"client.port": 35834, | ||
"destination.address": "127.0.0.1", | ||
"destination.bytes": 5595, | ||
"destination.ip": "127.0.0.1", | ||
"destination.nat.ip": "0.0.0.0", | ||
"destination.nat.port": 20077, | ||
"destination.packets": 7, | ||
"destination.port": 443, | ||
"event.action": "flow_terminated", | ||
"event.category": [ | ||
"network", | ||
"network_traffic" | ||
], | ||
"event.dataset": "panw.panos", | ||
"event.duration": 1000000000, | ||
"event.end": "2021-05-26T16:26:31.000Z", | ||
"event.kind": "event", | ||
"event.module": "panw", | ||
"event.outcome": "success", | ||
"event.start": "2021-05-26T16:26:30.000Z", | ||
"event.timezone": "-02:00", | ||
"event.type": [ | ||
"allowed", | ||
"connection", | ||
"end" | ||
], | ||
"fileset.name": "panos", | ||
"input.type": "log", | ||
"labels.nat_translated": true, | ||
"labels.ssl_decrypted": true, | ||
"log.offset": 0, | ||
"log.original": "Oct 30 09:46:42 1,2021-05-26T16:27:07.000000Z,no-serial,TRAFFIC,end,9.1,2021-05-26T16:26:47.000000Z,127.0.0.0,127.0.0.1,0.0.0.0,0.0.0.0,intrazone-default,,,web-browsing,vsys1,untrust,untrust,ethernet1/1,ethernet1/1,Cortex Data Lake,,688290,1,35834,443,35834,20077,0x1400070,tcp,allow,7291,1696,5595,21,2021-05-26T16:26:30.000000Z,1,medium-risk,,620386,0x8800000000000000,US,SG,,14,7,tcp-fin,22,18,0,0,,GP cloud service,from-policy,,,0,,0,1970-01-01T00:00:00.000000Z,N/A,0,0,0,0,6a2f6161-88f2-4afc-8dd5-256bc4505a64,0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,", | ||
"network.application": "web-browsing", | ||
"network.bytes": 7291, | ||
"network.community_id": [ | ||
"1:lME0D6scndGsx6dABDTbtWkIb3E=", | ||
"1:q5HHCKGDtoHfI//AqHbOlmLMsRQ=" | ||
], | ||
"network.direction": "external", | ||
"network.packets": 21, | ||
"network.transport": "tcp", | ||
"network.type": "ipv4", | ||
"observer.egress.interface.name": "ethernet1/1", | ||
"observer.egress.zone": "untrust", | ||
"observer.hostname": "GP cloud service", | ||
"observer.ingress.interface.name": "ethernet1/1", | ||
"observer.ingress.zone": "untrust", | ||
"observer.product": "PAN-OS", | ||
"observer.serial_number": "no-serial", | ||
"observer.type": "firewall", | ||
"observer.vendor": "Palo Alto Networks", | ||
"panw.panos.action": "allow", | ||
"panw.panos.destination.interface": "ethernet1/1", | ||
"panw.panos.destination.nat.ip": "0.0.0.0", | ||
"panw.panos.destination.nat.port": 20077, | ||
"panw.panos.destination.zone": "untrust", | ||
"panw.panos.endreason": "tcp-fin", | ||
"panw.panos.flow_id": "688290", | ||
"panw.panos.network.nat.community_id": "1:lME0D6scndGsx6dABDTbtWkIb3E=", | ||
"panw.panos.ruleset": "intrazone-default", | ||
"panw.panos.sequence_number": 620386, | ||
"panw.panos.source.interface": "ethernet1/1", | ||
"panw.panos.source.nat.ip": "0.0.0.0", | ||
"panw.panos.source.nat.port": 35834, | ||
"panw.panos.source.zone": "untrust", | ||
"panw.panos.sub_type": "end", | ||
"panw.panos.type": "TRAFFIC", | ||
"panw.panos.url.category": "medium-risk", | ||
"panw.panos.virtual_sys": "vsys1", | ||
"related.hosts": [ | ||
"GP cloud service" | ||
], | ||
"related.ip": [ | ||
"0.0.0.0", | ||
"127.0.0.0", | ||
"127.0.0.1" | ||
], | ||
"rule.name": "intrazone-default", | ||
"server.bytes": 5595, | ||
"server.ip": "127.0.0.1", | ||
"server.nat.ip": "0.0.0.0", | ||
"server.nat.port": 20077, | ||
"server.packets": 7, | ||
"server.port": 443, | ||
"service.type": "panw", | ||
"source.address": "127.0.0.0", | ||
"source.bytes": 1696, | ||
"source.ip": "127.0.0.0", | ||
"source.nat.ip": "0.0.0.0", | ||
"source.nat.port": 35834, | ||
"source.packets": 14, | ||
"source.port": 35834, | ||
"tags": [ | ||
"forwarded", | ||
"pan-os" | ||
] | ||
} | ||
] |