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.