Skip to content

Commit

Permalink
fix: event.sequence is a better match. Remove message field.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbystedt committed Jan 21, 2022
1 parent eb13ee8 commit f858849
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion roles/apm_agent/files/conf/filters.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
Add agent.version ${FLUENT_VERSION}
Add ecs.version 1.12.0
Rename level log.level
Copy message event.original
Rename event_sequence event.sequence
Rename message event.original

[FILTER]
Name lua
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Tag apache
Path ${FLUENT_INPUT_LOGS_PATH}
Path_Key log_file_path
Offset_Key log_file_offset
Offset_Key event_sequence
DB /apps_ux/agents/main/db/fluent-bit-logs.db
Read_from_Head True
Key message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Tag deploy
Path /apps_ux/logs/jenkins/metrics/deploy*
Path_Key log_file_path
Offset_Key log_file_offset
Offset_Key event_sequence
DB /apps_ux/agents/main/db/fluent-bit-deploy.db
Read_from_Head True
Key message
Expand Down

0 comments on commit f858849

Please sign in to comment.