Skip to content

Commit e707cf3

Browse files
committed
fluentbit add json ingest and forward original filenames
1 parent 1d31e02 commit e707cf3

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

config/fluentbit_server/logs-auditd.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
Read_from_Head true
88
Buffer_Chunk_Size 1M
99
Buffer_Max_Size 5M
10+
Path_Key source_file
1011

1112
[FILTER]
1213
Name lua

config/fluentbit_server/logs-evtx.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
Read_from_Head true
1919
Buffer_Chunk_Size 1M
2020
Buffer_Max_Size 5M
21+
Path_Key source_file
2122

2223
[FILTER]
2324
Name lua

config/fluentbit_server/logs-json.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
Read_from_Head true
88
Buffer_Chunk_Size 1M
99
Buffer_Max_Size 5M
10+
Path_Key source_file
11+
12+
[FILTER]
13+
Name lua
14+
Match json.logs
15+
Script /fluent-bit/etc/add_timestamp.lua
16+
Call add_timestamp
1017

1118
[OUTPUT]
1219
Name es

0 commit comments

Comments
 (0)