Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Format observer.mac field
Format the field per ECS guidance (uppercase hex, dash separated).
  • Loading branch information
andrewkroh committed May 9, 2022
commit 5d5540ae7be04abc398e3eb7bba0ab201290299e
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ processors:
- pipeline:
name: '{{ IngestPipeline "dhcpv6" }}'
if: "ctx?.log?.file?.path != null && ctx.log.file.path.contains('V6')"
- foreach:
field: observer.mac
ignore_missing: true
processor:
gsub:
field: _ingest._value
pattern: '[:]'
replacement: '-'
- foreach:
field: observer.mac
ignore_missing: true
processor:
uppercase:
field: _ingest._value
- remove:
field: event.original
if: "ctx?.tags == null || !(ctx.tags.contains('preserve_original_event'))"
Expand Down