Skip to content

Commit 9dde377

Browse files
author
Bin Yi
authored
Merge pull request #48 from SumoLogic/byi-doc-extract_placeholders
update doc for placeholders
2 parents cbefb36 + 86b6e04 commit 9dde377

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Configuration options for fluent.conf are:
2121
* `data_type` - The type of data that will be sent to Sumo Logic, either `logs` or `metrics` (Default is `logs `)
2222
* `endpoint` - SumoLogic HTTP Collector URL
2323
* `verify_ssl` - Verify ssl certificate. (default is `true`)
24-
* `source_category` - Set _sourceCategory metadata field within SumoLogic (default is `nil`)
25-
* `source_name` - Set _sourceName metadata field within SumoLogic - overrides source_name_key (default is `nil`)
24+
* `source_category`<sup>*</sup> - Set _sourceCategory metadata field within SumoLogic (default is `nil`)
25+
* `source_name`<sup>*</sup> - Set _sourceName metadata field within SumoLogic - overrides source_name_key (default is `nil`)
2626
* `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`)
27-
* `source_host` - Set _sourceHost metadata field within SumoLogic (default is `nil`)
27+
* `source_host`<sup>*</sup> - Set _sourceHost metadata field within SumoLogic (default is `nil`)
2828
* `log_format` - Format to post logs into Sumo. (default `json`)
2929
* text - Logs will appear in SumoLogic in text format (taken from the field specified in `log_key`)
3030
* json - Logs will appear in SumoLogic in json format.
@@ -37,6 +37,8 @@ Configuration options for fluent.conf are:
3737
* `metric_data_format` - The format of metrics you will be sending, either `graphite` or `carbon2` or `prometheus` (Default is `graphite `)
3838
* `disable_cookies` - Option to disable cookies on the HTTP Client. (Default is `false `)
3939

40+
__NOTE:__ <sup>*</sup> [Placeholders](https://docs.fluentd.org/v1.0/articles/buffer-section#placeholders) are supported
41+
4042
### Example Configuration
4143
Reading from the JSON formatted log files with `in_tail` and wildcard filenames:
4244
```

0 commit comments

Comments
 (0)