Skip to content

Commit

Permalink
Update filebeat-k8s.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bthorat5 authored Sep 25, 2024
1 parent 6698abb commit c738bc9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions diagnostics/opensearch/filebeat/conf/filebeat-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ filebeat.inputs:
paths:
- "/opt/data/log/*/*.log"
fields_under_root: true
fields:
log_type: log.tomcat-interface
processors:
- dissect:
tokenizer: "/opt/data/log/%{log_type}/%{log_file_name}.log"
field: "log.file.path"
target_prefix: "kami"
processors:
#Drop events from other namespaces except Duplo tenants.
- drop_event:
Expand Down

0 comments on commit c738bc9

Please sign in to comment.