Skip to content

Commit

Permalink
fix: offset field (#55)
Browse files Browse the repository at this point in the history
* fix: offset field

* fix: event.sequence is a better match. Remove message field.
  • Loading branch information
mbystedt committed Jan 31, 2022
1 parent 1c84688 commit 549dcaf
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 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 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 549dcaf

Please sign in to comment.