-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Filebeat] Add HIP Match logs to Palo Alto Module #25686
Changes from all commits
fc1f5e2
6359234
4de2f37
9b97739
e7c490a
2269f05
5af50e2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,12 +37,12 @@ processors: | |
overwrite_keys: true | ||
omit_empty: true | ||
mappings: | ||
_temp_.ietf_header: 0 | ||
event.created: 1 | ||
observer.serial_number: 2 | ||
panw.panos.type: 3 | ||
panw.panos.sub_type: 4 | ||
_temp_.generated_time: 6 | ||
_temp_.ietf_header: 0 | ||
|
||
- extract_array: | ||
when: | ||
|
@@ -215,6 +215,11 @@ processors: | |
observer.hostname: 33 | ||
panw.panos.sequence_number: 34 | ||
panw.panos.actionflags: 35 | ||
panw.panos.selection_type: 37 | ||
panw.panos.response_time: 38 | ||
panw.panos.priority: 39 | ||
panw.panos.attempted_gateways: 40 | ||
panw.panos.gateway: 41 | ||
Comment on lines
+218
to
+222
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So it's also extracting more fields for GLOBALPROTECT. Out of curiosity, are these documented? I don't see them in the docs. I was worried that this could cause a failure if the array has less entries, but realized that the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have to find where I found them because I didn't see them originally when I did the last PR but then I saw them There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Found it https://docs.paloaltonetworks.com/pan-os/10-0/pan-os-admin/monitoring/use-syslog-for-monitoring/syslog-field-descriptions/globalprotect-log-fields.html this is the original link I used which didn't have those extra fields https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-admin/monitoring/use-syslog-for-monitoring/syslog-field-descriptions/globalprotect-log-fields/globalprotect-log-fields-for-pan-os-913-and-later-releases.html#id5795bd71-1dc5-4f82-872d-a9ba6cb7cedf |
||
|
||
- extract_array: | ||
when: | ||
|
@@ -257,6 +262,43 @@ processors: | |
source.user.name: 31 | ||
client.user.name: 31 | ||
|
||
- extract_array: | ||
when: | ||
or: | ||
- equals: | ||
panw.panos.type: HIPMATCH | ||
- equals: | ||
panw.panos.type: HIP-MATCH | ||
field: csv | ||
omit_empty: true | ||
overwrite_keys: true | ||
fail_on_error: false | ||
mappings: | ||
_temp_.srcuser: 7 | ||
panw.panos.virtual_sys: 8 | ||
host.name: 9 | ||
host.os.full: 10 | ||
client.ip: 11 | ||
source.ip: 11 | ||
source.address: 11 | ||
panw.panos.matchname: 12 | ||
panw.panos.repeatcnt: 13 | ||
panw.panos.matchtype: 14 | ||
panw.panos.sequence_number: 17 | ||
panw.panos.actionflags: 18 | ||
panw.panos.device_group_hierarchy.level_1: 19 | ||
panw.panos.device_group_hierarchy.level_2: 20 | ||
panw.panos.device_group_hierarchy.level_3: 21 | ||
panw.panos.device_group_hierarchy.level_4: 22 | ||
panw.panos.vsys_name: 23 | ||
observer.hostname: 24 | ||
panw.panos.vsys_id: 25 | ||
_temp_.source_ipv6: 26 | ||
host.id: 27 | ||
panw.panos.serial_number: 28 | ||
host.mac: 29 | ||
|
||
|
||
- drop_fields: | ||
fields: | ||
- csv | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a
default_field: false
key to each of the new fields?We forgot this for the previous filesets. This is done to avoid hitting the limit of ~10k default fields in the index template for filebeat indices.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated just the fields I added in this and previous PR. Do you want me to do more??