Usage of /usr/bin/nri-elasticsearch:
-ca_bundle_dir string
Alternative Certificate Authority bundle directory
-ca_bundle_file string
Alternative Certificate Authority bundle file
-cache_ttl duration
Optional. The time the integration considers a temporal stored value as valid (defaults to 6 minutes left empty). (default 6m0s)
-cluster_environment string
A way to further specify which cluster we are gathering data for, example: 'staging'
-collect_indices
Signals whether to collect indices metrics or not (default true)
-collect_primaries
Signals whether to collect primaries metrics or not (default true)
-config_path string
Path to the ElasticSearch configuration .yml file. (default "/etc/elasticsearch/elasticsearch.yml")
-events
Publish events data.
-hostname string
Hostname or IP where Elasticsearch Node is running. (default "localhost")
-indices_regex string
A regex pattern that matches the index names to collect. Collects all if unspecified
-inventory
Publish inventory data.
-local_hostname string
Hostname or IP of the Elasticsearch node from which to collect inventory. (default "localhost")
-master_only
Collect cluster metrics on the elected master only
-metadata
Add customer defined key-value attributes to the samples.
-metrics
Publish metrics data.
-nri_add_hostname
Add hostname attribute to the samples.
-nri_cluster string
Optional. Cluster name
-nri_service string
Optional. Service name
-password string
Password for the given user.
-port int
Port on which Elasticsearch Node is listening. (default 9200)
-pretty
Print pretty formatted JSON.
-show_version
Print build information and exit
-ssl_alternative_hostname string
Alternative hostname to accept certificates from during SSL negotiation
-temp_dir string
Optional. Integrations path to store temporal data (defaults to os.tempDir if left empty).
-timeout int
Timeout for an API call (default 30)
-tls_insecure_skip_verify
Enabled TLS insecure skip verify
-use_ssl
Signals whether to use SSL or not. Certificate bundle must be supplied
-username string
Username for accessing Elasticsearch Node
-verbose
Print more information to logs.
Options (29)
| Option | Description | Source |
|---|---|---|
-ca_bundle_dir string | Alternative Certificate Authority bundle directory | help |
-ca_bundle_file string | Alternative Certificate Authority bundle file | help |
-cache_ttl duration | Optional. | help |
-cluster_environment string | A way to further specify which cluster we are gathering data for, example: 'staging' | help |
-collect_indices | Signals whether to collect indices metrics or not (default true) | help |
-collect_primaries | Signals whether to collect primaries metrics or not (default true) | help |
-config_path string | Path to the ElasticSearch configuration .yml file. | help |
-events | Publish events data. | help |
-hostname string | Hostname or IP where Elasticsearch Node is running. | help |
-indices_regex string | A regex pattern that matches the index names to collect. | help |
-inventory | Publish inventory data. | help |
-local_hostname string | Hostname or IP of the Elasticsearch node from which to collect inventory. | help |
-master_only | Collect cluster metrics on the elected master only | help |
-metadata | Add customer defined key-value attributes to the samples. | help |
-metrics | Publish metrics data. | help |
-nri_add_hostname | Add hostname attribute to the samples. | help |
-nri_cluster string | Optional. | help |
-nri_service string | Optional. | help |
-password string | Password for the given user. | help |
-port int | Port on which Elasticsearch Node is listening. | help |
-pretty | Print pretty formatted JSON. | help |
-show_version | Print build information and exit | help |
-ssl_alternative_hostname string | Alternative hostname to accept certificates from during SSL negotiation | help |
-temp_dir string | Optional. | help |
-timeout int | Timeout for an API call (default 30) | help |
-tls_insecure_skip_verify | Enabled TLS insecure skip verify | help |
-use_ssl | Signals whether to use SSL or not. | help |
-username string | Username for accessing Elasticsearch Node | help |
-verbose | Print more information to logs. | help |