Change event.dataset value from 'tunnels' to 'tunnel'

This commit is contained in:
weslambert
2023-01-27 11:03:49 -05:00
committed by GitHub
parent 716ec7f936
commit 2772b03dca

View File

@@ -1,7 +1,7 @@
{ {
"description" : "zeek.tunnels", "description" : "zeek.tunnels",
"processors" : [ "processors" : [
{ "set": { "field": "event.dataset", "value": "tunnels" } }, { "set": { "field": "event.dataset", "value": "tunnel" } },
{ "remove": { "field": ["host"], "ignore_failure": true } }, { "remove": { "field": ["host"], "ignore_failure": true } },
{ "json": { "field": "message", "target_field": "message2", "ignore_failure": true } }, { "json": { "field": "message", "target_field": "message2", "ignore_failure": true } },
{ "rename": { "field": "message2.tunnel_type", "target_field": "tunnel.type", "ignore_missing": true } }, { "rename": { "field": "message2.tunnel_type", "target_field": "tunnel.type", "ignore_missing": true } },