From 86b6e041260159478b0f6414a77588e61b1a732d Mon Sep 17 00:00:00 2001 From: Bin Yi Date: Mon, 25 Mar 2019 17:32:37 -0700 Subject: [PATCH] update doc for placeholders --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 753d2e4..bd8c345 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,10 @@ Configuration options for fluent.conf are: * `data_type` - The type of data that will be sent to Sumo Logic, either `logs` or `metrics` (Default is `logs `) * `endpoint` - SumoLogic HTTP Collector URL * `verify_ssl` - Verify ssl certificate. (default is `true`) -* `source_category` - Set _sourceCategory metadata field within SumoLogic (default is `nil`) -* `source_name` - Set _sourceName metadata field within SumoLogic - overrides source_name_key (default is `nil`) +* `source_category`* - Set _sourceCategory metadata field within SumoLogic (default is `nil`) +* `source_name`* - Set _sourceName metadata field within SumoLogic - overrides source_name_key (default is `nil`) * `source_name_key` - Set as source::path_key's value so that the source_name can be extracted from Fluentd's buffer (default `source_name`) -* `source_host` - Set _sourceHost metadata field within SumoLogic (default is `nil`) +* `source_host`* - Set _sourceHost metadata field within SumoLogic (default is `nil`) * `log_format` - Format to post logs into Sumo. (default `json`) * text - Logs will appear in SumoLogic in text format (taken from the field specified in `log_key`) * json - Logs will appear in SumoLogic in json format. @@ -37,6 +37,8 @@ Configuration options for fluent.conf are: * `metric_data_format` - The format of metrics you will be sending, either `graphite` or `carbon2` or `prometheus` (Default is `graphite `) * `disable_cookies` - Option to disable cookies on the HTTP Client. (Default is `false `) +__NOTE:__ * [Placeholders](https://docs.fluentd.org/v1.0/articles/buffer-section#placeholders) are supported + ### Example Configuration Reading from the JSON formatted log files with `in_tail` and wildcard filenames: ```