update filebeat drop fields

main
ycz008 2024-02-23 15:17:17 +08:00
parent 4c9d759a3c
commit b523234207
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ data:
processors: processors:
- add_cloud_metadata: ~ - add_cloud_metadata: ~
- drop_fields: - drop_fields:
fields: ["ecs","agent"] fields: ["ecs","agent","@version"]
filebeat.inputs: filebeat.inputs:
- type: log - type: log

View File

@ -26,7 +26,7 @@ data:
processors: processors:
- add_cloud_metadata: ~ - add_cloud_metadata: ~
- drop_fields: - drop_fields:
fields: ["ecs","agent"] fields: ["ecs","agent","@version"]
filebeat.inputs: filebeat.inputs:
- type: log - type: log

View File

@ -26,7 +26,7 @@ data:
processors: processors:
- add_cloud_metadata: ~ - add_cloud_metadata: ~
- drop_fields: - drop_fields:
fields: ["ecs","agent"] fields: ["ecs","agent","@version"]
filebeat.inputs: filebeat.inputs:
- type: log - type: log