To eliminate the tail and timestamp from the output of Fluent Bit's stdout, you can use the stdout_format
configuration option with the json
format and remove the time_key
and time_format
settings. Here is an example configuration:
[SERVICE]
...
[INPUT]
...
[OUTPUT]
Name stdout
Match *
Format json
stdout_format json_lines
This configuration will output logs in JSON format without any additional information like the tail and timestamp.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-05-31 11:00:00 +0000
Seen: 11 times
Last updated: May 16 '21
What is the issue with the timestamp datatype in a Parquet file using pyarrow?
What is the method for obtaining the current timestamp using Carbon in Laravel 5?
What is the process for obtaining the timestamp of the day's highest quote in KDB?
How can a default timestamp be incorporated into a table in Snowflake?