Skip to content

Commit

Permalink
pipeline: outputs: es: wrapped literal values in "Default" column wit…
Browse files Browse the repository at this point in the history
…h backticks.

Signed-off-by: Marat Abrarov <[email protected]>
  • Loading branch information
mabrarov committed Oct 13, 2024
1 parent 321fc55 commit c25d6da
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions pipeline/outputs/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,38 @@ configuration.

| Key | Description | Default | Overridable |
| :--- | :--- | :--- | :--- |
| Host | IP address or hostname of the target Elasticsearch instance. | 127.0.0.1 | Yes. Default value isn't applicable for NODE section of Upstream configuration, which **requires** Host to be specified. |
| Port | TCP port of the target Elasticsearch instance | 9200 | Yes. Default value isn't applicable for NODE section of Upstream configuration, which **requires** Port to be specified. |
| Path | Elasticsearch accepts new data on HTTP query path "/\_bulk". But it is also possible to serve Elasticsearch behind a reverse proxy on a subpath. This option defines such path on the fluent-bit side. It simply adds a path prefix in the indexing HTTP POST URI. | Empty string | Yes |
| Host | IP address or hostname of the target Elasticsearch instance. | `127.0.0.1` | Yes. Default value isn't applicable for NODE section of Upstream configuration, which **requires** Host to be specified. |
| Port | TCP port of the target Elasticsearch instance | `9200` | Yes. Default value isn't applicable for NODE section of Upstream configuration, which **requires** Port to be specified. |
| Path | Elasticsearch accepts new data on HTTP query path "/\_bulk". But it is also possible to serve Elasticsearch behind a reverse proxy on a subpath. This option defines such path on the fluent-bit side. It simply adds a path prefix in the indexing HTTP POST URI. | _empty string_ | Yes |
| compress | Set payload compression mechanism. Option available is 'gzip' | _none_ | Yes |
| Buffer\_Size | Specify the buffer size used to read the response from the Elasticsearch HTTP service. This option is useful for debugging purposes where is required to read full responses, note that response size grows depending of the number of records inserted. To set an _unlimited_ amount of memory set this value to **False**, otherwise the value must be according to the [Unit Size](../../administration/configuring-fluent-bit/unit-sizes.md) specification. | 4KB | Yes |
| Buffer\_Size | Specify the buffer size used to read the response from the Elasticsearch HTTP service. This option is useful for debugging purposes where is required to read full responses, note that response size grows depending of the number of records inserted. To set an _unlimited_ amount of memory set this value to **False**, otherwise the value must be according to the [Unit Size](../../administration/configuring-fluent-bit/unit-sizes.md) specification. | `4KB` | Yes |
| Pipeline | Newer versions of Elasticsearch allows to setup filters called pipelines. This option allows to define which pipeline the database should use. For performance reasons is strongly suggested to do parsing and filtering on Fluent Bit side, avoid pipelines. | _none_ | Yes |
| AWS\_Auth | Enable AWS Sigv4 Authentication for Amazon OpenSearch Service | Off | Yes |
| AWS\_Region | Specify the AWS region for Amazon OpenSearch Service | _none_ | Yes |
| AWS\_STS\_Endpoint | Specify the custom sts endpoint to be used with STS API for Amazon OpenSearch Service | _none_ | Yes |
| AWS\_Role\_ARN | AWS IAM Role to assume to put records to your Amazon cluster | _none_ | Yes |
| AWS\_External\_ID | External ID for the AWS IAM Role specified with `aws_role_arn` | _none_ | Yes |
| AWS\_Service\_Name | Service name to be used in AWS Sigv4 signature. For integration with Amazon OpenSearch Serverless, set to `aoss`. See the [FAQ](opensearch.md#faq) section on Amazon OpenSearch Serverless for more information. | es | Yes |
| AWS\_Profile | AWS profile name | default | Yes |
| AWS\_Service\_Name | Service name to be used in AWS Sigv4 signature. For integration with Amazon OpenSearch Serverless, set to `aoss`. See the [FAQ](opensearch.md#faq) section on Amazon OpenSearch Serverless for more information. | `es` | Yes |
| AWS\_Profile | AWS profile name | `default` | Yes |
| Cloud\_ID | If you are using Elastic's Elasticsearch Service you can specify the cloud\_id of the cluster running. The Cloud ID string has the format `<deployment_name>:<base64_info>`. Once decoded, the `base64_info` string has the format `<deployment_region>$<elasticsearch_hostname>$<kibana_hostname>`. | _none_ | No |
| Cloud\_Auth | Specify the credentials to use to connect to Elastic's Elasticsearch Service running on Elastic Cloud | _none_ | Yes |
| HTTP\_User | Optional username credential for Elastic X-Pack access | _none_ | Yes |
| HTTP\_Passwd | Password for user defined in HTTP\_User | _none_ | Yes |
| Index | Index name | fluent-bit | Yes |
| Type | Type name | \_doc | Yes |
| Index | Index name | `fluent-bit` | Yes |
| Type | Type name | `_doc` | Yes |
| Logstash\_Format | Enable Logstash format compatibility. This option takes a boolean value: True/False, On/Off | Off | Yes |
| 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 | Yes |
| 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` | Yes |
| 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). | _none_ | Yes |
| Logstash\_Prefix\_Separator | Set a separator between logstash_prefix and date.| - | Yes |
| 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 | Yes |
| 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 | Yes |
| Time\_Key\_Format | When Logstash\_Format is enabled, this property defines the format of the timestamp. | %Y-%m-%dT%H:%M:%S | Yes |
| Logstash\_Prefix\_Separator | Set a separator between logstash_prefix and date. | `-` | Yes |
| 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` | Yes |
| 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` | Yes |
| Time\_Key\_Format | When Logstash\_Format is enabled, this property defines the format of the timestamp. | `%Y-%m-%dT%H:%M:%S` | Yes |
| Time\_Key\_Nanos | When Logstash\_Format is enabled, enabling this property sends nanosecond precision timestamps. | Off | Yes |
| Include\_Tag\_Key | When enabled, it append the Tag name to the record. | Off | Yes |
| Tag\_Key | When Include\_Tag\_Key is enabled, this property defines the key name for the tag. | \_flb-key | Yes |
| Tag\_Key | When Include\_Tag\_Key is enabled, this property defines the key name for the tag. | `_flb-key` | Yes |
| Generate\_ID | When enabled, generate `_id` for outgoing records. This prevents duplicate records when retrying ES. | Off | Yes |
| Id\_Key | If set, `_id` will be the value of the key from incoming record and `Generate_ID` option is ignored. | _none_ | Yes |
| Write\_Operation | The write\_operation can be any of: create (default), index, update, upsert. | create | Yes |
| Write\_Operation | The write\_operation can be any of: create (default), index, update, upsert. | `create` | Yes |
| Replace\_Dots | When enabled, replace field name dots with underscore, required by Elasticsearch 2.0-2.3. | Off | Yes |
| Trace\_Output | Print all elasticsearch API request payloads to stdout \(for diag only\) | Off | Yes |
| Trace\_Error | If elasticsearch return an error, print the elasticsearch API request and response \(for diag only\) | Off | Yes |
Expand Down

0 comments on commit c25d6da

Please sign in to comment.