OS Manuals

/usr/bin/nri-elasticsearch

New Relic Infrastructure Elasticsearch Integration

From nri-elasticsearch 6.4.3-r0 (os), captured 2026-11-05 by running nri-elasticsearch --help (exit 0). permalink

Also provided by 1 other package version
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)
OptionDescriptionSource
-ca_bundle_dir stringAlternative Certificate Authority bundle directoryhelp
-ca_bundle_file stringAlternative Certificate Authority bundle filehelp
-cache_ttl durationOptional.help
-cluster_environment stringA way to further specify which cluster we are gathering data for, example: 'staging'help
-collect_indicesSignals whether to collect indices metrics or not (default true)help
-collect_primariesSignals whether to collect primaries metrics or not (default true)help
-config_path stringPath to the ElasticSearch configuration .yml file.help
-eventsPublish events data.help
-hostname stringHostname or IP where Elasticsearch Node is running.help
-indices_regex stringA regex pattern that matches the index names to collect.help
-inventoryPublish inventory data.help
-local_hostname stringHostname or IP of the Elasticsearch node from which to collect inventory.help
-master_onlyCollect cluster metrics on the elected master onlyhelp
-metadataAdd customer defined key-value attributes to the samples.help
-metricsPublish metrics data.help
-nri_add_hostnameAdd hostname attribute to the samples.help
-nri_cluster stringOptional.help
-nri_service stringOptional.help
-password stringPassword for the given user.help
-port intPort on which Elasticsearch Node is listening.help
-prettyPrint pretty formatted JSON.help
-show_versionPrint build information and exithelp
-ssl_alternative_hostname stringAlternative hostname to accept certificates from during SSL negotiationhelp
-temp_dir stringOptional.help
-timeout intTimeout for an API call (default 30)help
-tls_insecure_skip_verifyEnabled TLS insecure skip verifyhelp
-use_sslSignals whether to use SSL or not.help
-username stringUsername for accessing Elasticsearch Nodehelp
-verbosePrint more information to logs.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.