update filebeat drop fields

main
ycz008 2024-02-23 15:05:43 +08:00
parent c41d5d77c4
commit 94fe53b3b0
3 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,8 @@ data:
processors: processors:
- add_cloud_metadata: ~ - add_cloud_metadata: ~
- drop_fields:
fields: ["ecs","agent.type","agent.id","agent.version","agent.ephemeral_id","agent.name"]
filebeat.inputs: filebeat.inputs:
- type: log - type: log

View File

@ -25,6 +25,8 @@ data:
processors: processors:
- add_cloud_metadata: ~ - add_cloud_metadata: ~
- drop_fields:
fields: ["ecs","agent.type","agent.id","agent.version","agent.ephemeral_id","agent.name"]
filebeat.inputs: filebeat.inputs:
- type: log - type: log

View File

@ -25,6 +25,8 @@ data:
processors: processors:
- add_cloud_metadata: ~ - add_cloud_metadata: ~
- drop_fields:
fields: ["ecs","agent.type","agent.id","agent.version","agent.ephemeral_id","agent.name"]
filebeat.inputs: filebeat.inputs:
- type: log - type: log
@ -45,6 +47,7 @@ data:
compression: gzip compression: gzip
max_message_bytes: 1000000 max_message_bytes: 1000000
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: DaemonSet kind: DaemonSet