From 7150d0c5ad5df992a0abbccc56bc84de1f3ad549 Mon Sep 17 00:00:00 2001 From: romanchechyotkin Date: Mon, 22 Jul 2024 17:56:27 +0300 Subject: [PATCH] #631 added loki output --- plugin/output/loki/README.md | 59 ------------------------------------ 1 file changed, 59 deletions(-) delete mode 100644 plugin/output/loki/README.md diff --git a/plugin/output/loki/README.md b/plugin/output/loki/README.md deleted file mode 100644 index e17d2e881..000000000 --- a/plugin/output/loki/README.md +++ /dev/null @@ -1,59 +0,0 @@ -# Loki output -It sends the logs batches to Loki using HTTP API. - -### Config params -**`target_file`** *`string`* *`default=/var/log/file-d.log`* - -File path to write events to. -Each rotated file will be named with current unix timestamp. - -For example, if `target_file` is `/var/log/file-d.log` -file will be `/var/log/1893445200_file-d.log` - -
- -**`retention_interval`** *`cfg.Duration`* *`default=1h`* - -How often to rotate a particular file. - -
- -**`time_layout`** *`string`* *`default=01-02-2006_15:04:05`* - -Layout is added to targetFile after sealing up. Determines result file name - -
- -**`workers_count`** *`cfg.Expression`* *`default=gomaxprocs*4`* - -How much workers will be instantiated to send batches. - -
- -**`batch_size`** *`cfg.Expression`* *`default=capacity/4`* - -Maximum quantity of events to pack into one batch. - -
- -**`batch_size_bytes`** *`cfg.Expression`* *`default=0`* - -A minimum size of events in a batch to send. -If both batch_size and batch_size_bytes are set, they will work together. - -
- -**`batch_flush_timeout`** *`cfg.Duration`* *`default=1s`* - -After this timeout batch will be sent even if batch isn't completed. - -
- -**`file_mode`** *`cfg.Base8`* *`default=0666`* - -File mode for log files - -
- - -
*Generated using [__insane-doc__](https://github.com/vitkovskii/insane-doc)* \ No newline at end of file