# Marvel not showing any data

**URL:** <https://discuss.elastic.co/t/marvel-not-showing-any-data/44975>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [March 21, 2016, 11:00am UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975 "2016-03-21T11:00:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![noemie](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@noemie](https://discuss.elastic.co/u/noemie)\
**Post date:** [March 21, 2016, 11:00am UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975/1 "2016-03-21T11:00:51Z")

</div>

Hello,

I have a problem with Marvel. I installed it on the same machine than Elasticsearch, Logstash and Kibana. I have a single instance of Elasticsearch running and the node is both master and data. But I have this message: "Waiting for Marvel Data. It appears that we have not received any data for this cluster. Marvel data is sent every 10 seconds by the agent plugin; once the data appears this page will automatically redirect to the overview page." when I access to the marvel pannel. Reading the previous posts, I understood that the marvel access was granted once the master node had shown up and I don't understand what's wrong with my set up.

Thanks in adavance for your help,  
Noemie

---

<div class="post-metadata">

**Author:** ![zpp](https://avatars.discourse-cdn.com/v4/letter/z/54ee81/32.png) [@zpp](https://discuss.elastic.co/u/zpp)\
**Post date:** [March 21, 2016, 11:27am UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975/2 "2016-03-21T11:27:03Z")

</div>

You need to install both license and marvel-agent, and restart elasticsearch after installation. This worked for me.

---

<div class="post-metadata">

**Author:** ![noemie](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@noemie](https://discuss.elastic.co/u/noemie)\
**Post date:** [March 21, 2016, 1:08pm UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975/3 "2016-03-21T13:08:47Z")

</div>

Hello,  
thank you for your answer. I've already tried that (but tried it again just to be sure) but I still have nothing... I work with the 2.1.0 versions of marvel, license, marvel-agent and elasticsearch. Maybe this would help...

---

<div class="post-metadata">

**Author:** ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)\
**Post date:** [March 21, 2016, 1:29pm UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975/4 "2016-03-21T13:29:30Z")

</div>

Hi Noemie,

Can you verify that you have installed license and marvel-agent on all nodes in your cluster and they have all been restarted? If you are running on a single machine, can you please make sure you don't have a second instance of Elasticsearch running (e.g. after stopping ES, make a request to localhost:9200/ and localhost:9201/ to make sure there are no other instances running?)

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![noemie](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@noemie](https://discuss.elastic.co/u/noemie)\
**Post date:** [March 21, 2016, 1:47pm UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975/5 "2016-03-21T13:47:51Z")

</div>

Hi,

I don't have another instance running and there is just a single node in my cluster. I stopped everything and restarted it. When I execute a curl with this url [http://localhost:9200/\_cluster/health?pretty](http://localhost:9200/_cluster/health?pretty) I have this answer:  
"cluster\_name" : "elasticsearch",  
"status" : "yellow",  
"timed\_out" : false,  
"number\_of\_nodes" : 1,  
"number\_of\_data\_nodes" : 1,  
"active\_primary\_shards" : 6,  
"active\_shards" : 6,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 6,  
"delayed\_unassigned\_shards" : 0,  
"number\_of\_pending\_tasks" : 0,  
"number\_of\_in\_flight\_fetch" : 0,  
"task\_max\_waiting\_in\_queue\_millis" : 0,  
"active\_shards\_percent\_as\_number" : 50.0

I really don't know what to do...

---

<div class="post-metadata">

**Author:** ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)\
**Post date:** [March 22, 2016, 8:40am UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975/6 "2016-03-22T08:40:12Z")

</div>

Hi Noemie,

Can you please share with us the result of `GET /_cat/indices?v` ? You should see the marvel indices `.marvel-es-data` and `.marvel-es-YYY.MM.dd`. If you don't see them, there might be an issue in your configuration.

Can you also check that `GET /.marvel-es-data/cluster_info/_count` returns 1 document? This doc is indexed by the master node and contains necessary data for the user interface to work.

Finally, you should check your logs. Everything that contains [marvel.agent.\*] may be intersting. Feel free to share these logs with us if you want (please remove any sensitive information first).

-- Tanguy

---

<div class="post-metadata">

**Author:** ![noemie](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@noemie](https://discuss.elastic.co/u/noemie)\
**Post date:** [March 22, 2016, 11:37am UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975/7 "2016-03-22T11:37:49Z")

</div>

There is the result of the GET /\_cat/indices?v :

health status index pri rep docs.count docs.deleted store.size pri.store.size  
yellow open .kibana 1 1 3 0 25.9kb 25.9kb  
yellow open wt\_access-2016.03.21 5 1 104063 0 105.2mb 105.2mb

and the following error message when trying the GET /.marvel-es-data/cluster\_info/\_count :

{"error":{"root\_cause":[{"type":"index\_not\_found\_exception","reason":"no such index","resource.type":"index\_or\_alias","[resource.id](http://resource.id)":".marvel-es-data","index":".marvel-es-data"}],"type":"index\_not\_found\_exception","reason":"no such index","resource.type":"index\_or\_alias","[resource.id](http://resource.id)":".marvel-es-data","index":".marvel-es-data"},"status":404}

which make sense since the index is not found in the first request.

I tried the find command though and the .marvel-es-data is found there: ./elasticsearch-2.1.0/data/identityStats/nodes/0/indices/ and ./elasticsearch-2.1.0/data/elasticsearch/nodes/0/indices/  
There is nothing in the kibana and elasticsearch logfiles matching [marvel.agent.\*]. It seems like it never starts... I've got this though:

[2016-03-22 11:32:49,710][INFO][rest.suppressed] /.marvel-es-data/cluster\_info/\_search Params: {index=.marvel-es-data, type=cluster\_info}  
[.marvel-es-data] IndexNotFoundException[no such index]

In the mean time, I uninstalled license, marvel-agent and marvel again but it didn't change a thing...

---

<div class="post-metadata">

**Author:** ![tanguy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy/32/6030_2.png) [@tanguy](https://discuss.elastic.co/u/tanguy)\
**Post date:** [March 22, 2016, 12:15pm UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975/8 "2016-03-22T12:15:43Z")

</div>

It looks like the plugin did not start.

Can you enable debug logging for marvel? You need to change the logging.yml file and add `marvel: DEBUG` like this, and then restart the node:

```auto
logger:
  # log action execution errors for easier debugging
  action: DEBUG
  ...  
  marvel: DEBUG

```

We fixed few bugs since the 2.1.0, if possible I also encourage you to move to the latest version (2.2.1).

---

<div class="post-metadata">

**Author:** ![noemie](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@noemie](https://discuss.elastic.co/u/noemie)\
**Post date:** [March 22, 2016, 1:23pm UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975/9 "2016-03-22T13:23:03Z")

</div>

So, here is what I got once debu logging for marvel is enabled:

[DEBUG][marvel.agent.collector.cluster] [stats] starting collector [cluster-info-collector]  
[DEBUG][marvel.agent.collector.indices] [stats] starting collector [indices-stats-collector]  
[DEBUG][marvel.agent.collector.cluster] [stats] starting collector [cluster-stats-collector]  
[DEBUG][marvel.agent.collector.shards] [stats] starting collector [shards-collector]  
[DEBUG][marvel.agent.collector.node] [stats] starting collector [node-stats-collector]  
[DEBUG][marvel.agent.collector.indices] [stats] starting collector [index-recovery-collector]  
[DEBUG][marvel.agent.collector.cluster] [stats] starting collector [cluster-state-collector]  
[DEBUG][marvel.agent.collector.indices] [stats] starting collector [index-stats-collector]  
[DEBUG][marvel.agent.exporter.local] local exporter [default\_local] - waiting until gateway has recovered from disk  
[DEBUG][marvel.agent.exporter.local] local exporter [default\_local] - currently installed marvel template version [2.1.0] is up-to-date  
[DEBUG][marvel.agent.exporter.local] local exporter [default\_local] - started!  
[DEBUG][marvel.agent.exporter.local] local exporter [default\_local] - currently installed marvel template version [2.1.0] is up-to-date

and regarding kibana, I've got a few "failed to delete temp file elasticsearch-2.1.0/data/identityStats/nodes/0/indices/.kibana/0/translog/translog-4479644442346135504.tlog (I don't know if it is relevant here)

thank you for your help,  
Noémie

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:44pm UTC](https://discuss.elastic.co/t/marvel-not-showing-any-data/44975/10 "2017-07-06T13:44:49Z")

</div>


