Skip to content

Commit e1b9032

Browse files
committed
Fixes to review comments, removed output references and corrected bucket variable description. Applys to #2124.
Signed-off-by: Eric D. Schabell <eric@schabell.org>
1 parent c7a4b2b commit e1b9032

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pipeline/filters/log_to_metrics.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ The plugin supports the following configuration parameters:
2323
| Key | Description | Default | Format |
2424
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
2525
| `add_label` | Adds a custom label `NAME` and set the value to the value of `KEY`. | _none_ | `NAME KEY` |
26-
| `alias` | Sets an alias, useful for multiple instances of the same output plugin. | _none_ | |
27-
| `bucket` | Required for mode `histogram`. Defines a bucket for histograms. | _none_ | For example, `0.75` |
26+
| `alias` | Sets an alias, useful for multiple instances of the same filter plugin. | _none_ | |
27+
| `bucket` | Optional for `metric_mode` `histogram`. If not set, default Prometheus-style buckets are used. | _none_ | For example, `0.75` |
2828
| `discard_logs` | Flag that defines if logs should be discarded after processing. This applies for all logs, no matter if they have emitted metrics or not. | `false` | |
2929
| `emitter_name` | Name of the emitter (advanced users). | _none_ | |
3030
| `emitter_mem_buf_limit` | set a buffer limit to restrict memory usage of metrics emitter. | `10M` | |
@@ -33,10 +33,10 @@ The plugin supports the following configuration parameters:
3333
| `flush_interval_nsec` | The interval for metrics emission, in nanoseconds. This parameter works in conjunction with `flush_interval_sec`. | `0` | |
3434
| `kubernetes_mode` | If enabled, adds `pod_id`, `pod_name`, `namespace_name`, `docker_id` and `container_name` to the metric as labels. This option is intended to be used in combination with the [Kubernetes](./kubernetes.md) filter plugin, which fills those fields. | `false` | |
3535
| `label_field` | Includes a record field as label dimension in the metric. | _none_ | Name of record key. Supports [record accessor](../../administration/configuring-fluent-bit/classic-mode/record-accessor.md) notation for nested fields. |
36-
| `log_level` | Specifies the log level for output plugin. If not set here, plugin uses global log level in `service` section. | `info` | |
37-
| `log_supress_interval` | Suppresses log messages from output plugin that appear similar within a specified time interval. `0` no suppression. | `0` | |
38-
| `match` | Set a tag pattern to match records that output should process. Exact matches or wildcards. | _none_ | |
39-
| `match_regex` | Set a regular expression to match tags for output routing. This allows more flexible matching compared to simple wildcards. | _none_ | |
36+
| `log_level` | Specifies the log level for filter plugin. If not set here, plugin uses global log level in `service` section. | `info` | |
37+
| `log_supress_interval` | Suppresses log messages from filter plugin that appear similar within a specified time interval. `0` no suppression. | `0` | |
38+
| `match` | Set a tag pattern to match records that filter should process. Exact matches or wildcards. | _none_ | |
39+
| `match_regex` | Set a regular expression to match tags for filter routing. This allows more flexible matching compared to simple wildcards. | _none_ | |
4040
| `metric_description` | Sets a description for the metric. | _none_ | |
4141
| `metric_mode` | Defines the mode for the metric. Valid values are `counter`, `gauge` or `histogram`. | `counter` | |
4242
| `metric_name` | Sets the name of the metric. | `a` | |

0 commit comments

Comments
 (0)