I just upgraded elasticsearch from 2.1 to 2.3, in my elasticsearch cluster, there is 1 master&data node, 1 data node, and one client node. Marvel is installed in all the three nodes.
I found that Marvel reflect index changes very slowly, whether inserting documents or creating/deleting index, I cannot see the changes from Marvel few hours later.
For example, I used the command line to delete the index named elkstats_other_sources
Kibana, allow to see historic on the top right corner of your screen. Change the interval to 5 minutes ... Normally it would show only the remaining indices in your cluster.
Thanks for reply, but I don't think it is related to the left corner choice. I allow kibana and Marvel to show the latest 1 hour, it should reflect the current changes of the index.
If both Marvel and Kibana are seeing it, then it still exists somewhere. Kibana in particular fetches things dynamically; it's not maintaining that index somewhere.
On the other hand, Marvel definitely does maintain information. However, it should show "N/A" within the Marvel Agent's interval (defaults to 10s + the webpage's request interval) to note that it's not getting anything else. You'd also notice that the color to the left of the index name disappears (the green block in the highlighted portion).
I was using elasticsearch 2.1X, actually when I delete an index, almost immediately, It shows N/A status on marvel.
Marvel 2.1 and Marvel 2.3 use a different index for reading/writing cluster details. Your instance of Kibana that you are using to monitor the cluster needs to be running the same instance of the plugin as a result.
How do I check Marvel versions? I actually installed Marvel after installing Elasticsearch2.3 just using the command line:
sudo bin/plugin install marvel-agent
So I think it should automatically pull the proper version of Marvel.
Do I need to manually download and install Marvel 2.3?
So there are two components to Marvel starting with 2.x:
marvel-agent
marvel UI
The first one must match the version of ES exactly, and the way that you installed it guarantees that to be true. You can confirm this by checking
$ curl -XGET host:9200/_cat/plugins?v
The Marvel UI plugin is a plugin for Kibana and its plugin version's are not quite as strict yet, so it's less obvious what you might have installed (or not installed) on that side.
To check the Marvel UI plugin version, you have to check a file in the Kibana directory:
$ grep -n version ${KIBANA_DIR}/installedPlugins/marvel/package.json
If those two versions don't match, then reinstall the Marvel UI plugin so that it does match.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.