# Trouble setting up marvel 2.1.1 with elasticsearch 2.1.1

**URL:** <https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365>\
**Category:** Kibana\
**Tags:** elastic-stack-monitoring\
**Created:** [January 5, 2016, 4:27am UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365 "2016-01-05T04:27:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![photonic\_world\_2](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@photonic\_world\_2](https://discuss.elastic.co/u/photonic_world_2)\
**Post date:** [January 5, 2016, 4:27am UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/1 "2016-01-05T04:27:37Z")

</div>

Hi,

I am trying to setup marvel and kibana in the separate monitoring cluster with the following settings:

Referred ES documentation here: [Installing marvel](https://www.elastic.co/guide/en/marvel/current/installing-marvel.html)

- Installed marvel-agent and license on my data+master nodes (restarted after the settings were made)  
excerpt of elasticsearch.yml in my elasticsearch data+master nodes is as below

* * *

## `cluster.name: elasticsearch1 node.data: true node.master: true marvel.agent.enabled: true marvel.agent.exporters.es.type: http marvel.agent.exporters.es.host: ["http://marvel-host:9200"] marvel.enabled: false` where **id** in the exporters is **es**

- Created a monitoring cluster with hostname : **marvel-host**
  - Installed kibana following getting started guide [here](https://www.elastic.co/guide/en/kibana/current/setup.html)
  - Verified that kibana was up (kibana points to elasticsearch in the monitoring cluster, **marvel-host:9200** )
  - Installed marvel plugin for kibana  
`bin/kibana plugin --install elasticsearch/marvel/latest`
  - I could see marvel tab in the kibana dashboard.

The problem is I don't see my elasticsearch cluster. I seem to be missing something, but above is the exact procedure as described in the Elasticsearch documentation.

With ES & marvel 1.x, marvel had to be installed in the marvel monitoring cluster as well, is it the same here, should I install marvel as plugin for elasticsearch in the monitoring cluster?

Any help is greatly appreciated.

[Edit: I also do not see .marvel-es-data\* index in my monitoring elasticsearch]

[Update: I see below in kibana logs, but I dont see .marvel-es-data index]  
`log [05:26:58.520] [info][status][plugin:elasticsearch] Status changed from red to green - Kibana index ready log [05:26:58.574] [info][status][plugin:marvel] Status changed from yellow to green - Marvel index ready log [05:27:01.108] [debug][plugin] Checking Elasticsearch version`  
Thanks,  
Photon

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 5, 2016, 4:37am UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/2 "2016-01-05T04:37:04Z")

</div>

> [@photonic\_world\_2](#):
>
> marvel.agent.exporters.\<random\_id\>:host: ["marvel-host:9200"]

That's wrong, you appear to have two `:` in there.

---

<div class="post-metadata">

**Author:** ![photonic\_world\_2](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@photonic\_world\_2](https://discuss.elastic.co/u/photonic_world_2)\
**Post date:** [January 5, 2016, 4:38am UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/3 "2016-01-05T04:38:27Z")

</div>

Apologize for the mistake. It is set properly with . in the yml file

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 5, 2016, 4:39am UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/4 "2016-01-05T04:39:47Z")

</div>

Ok, the docs also state;

```auto
marvel.agent.exporters:

  id1:
    type: http
    host: ["http://es-mon-1:9200", "http://es-mon2:9200"]

```

But you only have `marvel.agent.exporters.<random_id>:host:`.

---

<div class="post-metadata">

**Author:** ![photonic\_world\_2](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@photonic\_world\_2](https://discuss.elastic.co/u/photonic_world_2)\
**Post date:** [January 5, 2016, 4:43am UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/5 "2016-01-05T04:43:31Z")

</div>

I didn't think type was important to show but yes it is set  
`marvel.agent.exporters.es.host: ["http://marvel-host:9200"] marvel.agent.exporters.es.type: http`

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 5, 2016, 4:44am UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/6 "2016-01-05T04:44:58Z")

</div>

Ok, so what do the main ES cluster's logs show?

---

<div class="post-metadata">

**Author:** ![photonic\_world\_2](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@photonic\_world\_2](https://discuss.elastic.co/u/photonic_world_2)\
**Post date:** [January 5, 2016, 4:48am UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/7 "2016-01-05T04:48:20Z")

</div>

In one of the nodes named 'cluster-host1'. I see  
`[2016-01-05 03:39:46,123][INFO][node] [cluster-host1] version[2.1.1], pid[1801], build[40e2c53/2015-12-15T13:05:55Z] [2016-01-05 03:39:46,123][INFO][node] [cluster-host1] initializing ... [2016-01-05 03:39:46,498][INFO][plugins] [cluster-host1] loaded [license, marvel-agent, mapper-murmur3], sites []`

But I don't see it reporting data.. I have enabled debug logs for marvel as  
`logger: marvel: DEBUG`

I am using **kibana 4.3.1**

---

<div class="post-metadata">

**Author:** ![photonic\_world\_2](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@photonic\_world\_2](https://discuss.elastic.co/u/photonic_world_2)\
**Post date:** [January 5, 2016, 5:34am UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/8 "2016-01-05T05:34:28Z")

</div>

Any leads to what

- I should look for in the logs and make sure reporting from marvel agent is enabled?
- Looks like kibana has created **.kibana** index, just that marvel plugin for kibana is not working? Any way I can confirm this?

---

<div class="post-metadata">

**Author:** ![photonic\_world\_2](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@photonic\_world\_2](https://discuss.elastic.co/u/photonic_world_2)\
**Post date:** [January 5, 2016, 8:28pm UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/9 "2016-01-05T20:28:49Z")

</div>

OK found the issue, I used to use `marvel.enabled` on my cluster nodes with previous elasticsearch version, which would disable marvel reporting/creating data in the instance itself.

Setting this disabled marvel from reporting data and so was not working. .. Phew.. talk about self inflicted wounds.

---

<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:** [January 6, 2016, 8:11am UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/10 "2016-01-06T08:11:21Z")

</div>

I come after the war but thanks for letting us know 🙂

---

<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:45pm UTC](https://discuss.elastic.co/t/trouble-setting-up-marvel-2-1-1-with-elasticsearch-2-1-1/38365/11 "2017-07-06T13:45:52Z")

</div>


