Documentation for new parameters in logstash-output-opensearch 2.0.0 (#1263)
* Add documentation for 3 new parameters added in logstash-output-opensearch 2.0.0 Signed-off-by: Deep Datta <deedatta@amazon.com> * Update _clients/logstash/ship-to-opensearch.md Signed-off-by: Deep Datta <deedatta@amazon.com> Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> * Fix typo Signed-off-by: Deep Datta <deedatta@amazon.com> Signed-off-by: Deep Datta <deedatta@amazon.com> Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
This commit is contained in:
parent
1867336096
commit
e338f77cce
|
@ -118,6 +118,7 @@ output {
|
|||
aws_access_key_id => 'ACCESS_KEY'
|
||||
aws_secret_access_key => 'SECRET_KEY'
|
||||
region => 'us-west-2'
|
||||
service_name => 'es'
|
||||
}
|
||||
index => "logstash-logs-%{+YYYY.MM.dd}"
|
||||
}
|
||||
|
@ -142,8 +143,11 @@ output {
|
|||
- Environment variables - AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY (RECOMMENDED since they are recognized by all the AWS SDKs and CLI except for .NET), or AWS_ACCESS_KEY and AWS_SECRET_KEY (only recognized by Java SDK)
|
||||
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
|
||||
- Instance profile credentials delivered through the Amazon EC2 metadata service
|
||||
- template (path) - You can set the path to your own template here, if you so desire. If not set, the included template will be used.
|
||||
- template_name (string, default => "logstash") - defines how the template is named inside Opensearch
|
||||
- template (path) - You can set the path to your own template here. If no template is specified, the plugin uses the default template.
|
||||
- template_name (string, default => "logstash") - Defines how the template is named inside Opensearch
|
||||
- service_name (string, default => "es") - Defines the service name to be used for `aws_iam` authentication.
|
||||
- legacy_template (boolean, default => true) - Selects the OpenSearch template API. When `true`, uses legacy templates via the _template API. When `false`, uses composable templates via the _index_template API.
|
||||
- default_server_major_version (number) - The OpenSearch server major version to use when it's not available from the OpenSearch root URL. If not set, the plugin throws an exception when the version can't be fetched.
|
||||
|
||||
## Data streams
|
||||
|
||||
|
|
Loading…
Reference in New Issue