Skip to content

Commit 665a1c1

Browse files
author
Lukas
authored
docs(opensearch): record accessor syntax links (#1191)
Link to record accessor docs was wrong. Syntax in FAQ example used double quotes instead of single quotes, which is not valid. Signed-off-by: Lukas <[email protected]>
1 parent 019b1b1 commit 665a1c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pipeline/outputs/opensearch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The following instructions assumes that you have a fully operational OpenSearch
2828
| Type | Type name. This option is ignored if `Suppress_Type_Name` is enabled. | \_doc |
2929
| Logstash\_Format | Enable Logstash format compatibility. This option takes a boolean value: True/False, On/Off | Off |
3030
| Logstash\_Prefix | When Logstash\_Format is enabled, the Index name is composed using a prefix and the date, e.g: If Logstash\_Prefix is equals to 'mydata' your index will become 'mydata-YYYY.MM.DD'. The last string appended belongs to the date when the data is being generated. | logstash |
31-
| Logstash\_Prefix\_Key | When included: the value of the key in the record will be evaluated as key reference and overrides Logstash\_Prefix for index generation. If the key/value is not found in the record then the Logstash\_Prefix option will act as a fallback. The parameter is expected to be a [record accessor](../../administration/configuring-fluent-bit/classic-mode/record-accessor). | |
31+
| Logstash\_Prefix\_Key | When included: the value of the key in the record will be evaluated as key reference and overrides Logstash\_Prefix for index generation. If the key/value is not found in the record then the Logstash\_Prefix option will act as a fallback. The parameter is expected to be a [record accessor](../../administration/configuring-fluent-bit/classic-mode/record-accessor.md). | |
3232
| Logstash\_Prefix\_Separator | Set a separator between logstash_prefix and date. | - |
3333
| Logstash\_DateFormat | Time format \(based on [strftime](http://man7.org/linux/man-pages/man3/strftime.3.html)\) to generate the second part of the Index name. | %Y.%m.%d |
3434
| Time\_Key | When Logstash\_Format is enabled, each record will get a new timestamp field. The Time\_Key property defines the name of that field. | @timestamp |
@@ -139,7 +139,7 @@ The following snippet demonstrates using the namespace name as extracted by the
139139
Match *
140140
# ...
141141
Logstash_Prefix logstash
142-
Logstash_Prefix_Key $kubernetes["namespace_name"]
142+
Logstash_Prefix_Key $kubernetes['namespace_name']
143143
# ...
144144
```
145145

@@ -242,4 +242,4 @@ Alternatively, running this command to manually create a new index will return a
242242
PUT <index-name>
243243
```
244244

245-
There are multiple ways to resolve excessive shard usage in an OpenSearch domain such as deleting or combining indexes, adding more data nodes to the cluster, or updating the domain's index creation and sharding strategy. Consult the OpenSearch documentation for more information on how to use these strategies.
245+
There are multiple ways to resolve excessive shard usage in an OpenSearch domain such as deleting or combining indexes, adding more data nodes to the cluster, or updating the domain's index creation and sharding strategy. Consult the OpenSearch documentation for more information on how to use these strategies.

0 commit comments

Comments
 (0)