Closed mmcallister closed 10 years ago
If you have, for example, index_1 and index_2, you have two options to monitor them:
Monitor the combined, index_1 AND index_2, stats:
# File: config/newrelic_plugin.yml
agents:
elasticsearch_stats_agent:
-
name: "Index 1 & Index 2"
url: "http://localhost:9200"
index: "_all"
Not the "_all" value for the index option. This gets stats for ALL the indexes on the host. You can also monitor them separately:
# File: config/newrelic_plugin.yml
agents:
elasticsearch_stats_agent:
-
name: "Index 1"
url: "http://localhost:9200"
index: "index_1"
-
name: "Index 2"
url: "http://localhost:9200"
index: "index_2"
Oh! Brilliant. What I had was 'index: _all' for all the hosts. Thanks for the super quick response!!
-Marie
Is there a way to get data on multiple nodes per host? Once the plugin is installed, there is just one newrelic_elasticsearch_agent running per server.
I am wondering how the data is aggregated on the New Relic Elasticsearch UI page. It does not seem to show all data for all nodes if we have multiple running.
Thank you!