Replies: 2 comments 2 replies
-
You can use multiple inputs or a single one. |
Beta Was this translation helpful? Give feedback.
-
Certainly! You can use a single index or separate indices based on your requirements. For a single index, you can tag logs differently using the Path_Key. If you prefer separate indices, you can specify different index names in the Match section for each input. Here's an example: [INPUT] outputs: | |
Beta Was this translation helpful? Give feedback.
-
Hello!
I have deployed fluentbit in kubernetes and scraping logs from there to kibana.
Now in pods i have custom path where application generate the logs -
/tmp/file1.txt
/tmp/file2.txt
so now in fluent bit config there will be 2 INPUTS.
Can i use 2 separate index to store them or single index.
And can you help me with the configuration ?
inputs: |
[INPUT]
Name tail
Path /tmp/file2.txt
Path_Key app
Mem_Buf_Limit 300MB
Skip_Long_Lines On
[INPUT]
Name tail
Path /tmp/file.txt
Path_Key app
Mem_Buf_Limit 300MB
Skip_Long_Lines On
outputs: |
Beta Was this translation helpful? Give feedback.
All reactions