# Marvel agent error

**URL:** <https://discuss.elastic.co/t/marvel-agent-error/70820>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [January 6, 2017, 8:56pm UTC](https://discuss.elastic.co/t/marvel-agent-error/70820 "2017-01-06T20:56:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [January 6, 2017, 8:56pm UTC](https://discuss.elastic.co/t/marvel-agent-error/70820/1 "2017-01-06T20:56:31Z")

</div>

Hi Team,  
From Kibana when i am trying to connect marvel i am getting an error:  
"Shield: Sorry, you are not authorized to access Marvel"

But i disabled shield on all ES nodes and also getting below error on ES master node:

Can you help me understand this uncaught exception? how can i get more details about it?

[2017-01-06 12:52:29,710][ERROR][marvel.agent] [es-master-node] background thread had an uncaught exception  
ElasticsearchException[failed to flush exporter bulks]  
at org.elasticsearch.marvel.agent.exporter.ExportBulk$Compound.flush(ExportBulk.java:104)  
at org.elasticsearch.marvel.agent.exporter.ExportBulk.close(ExportBulk.java:53)  
at org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:201)  
at java.lang.Thread.run(Thread.java:745)  
Suppressed: ElasticsearchException[failed to flush [default\_local] exporter bulk]; nested: ElasticsearchException[failure in bulk execution, only the first 100 failures are printed:];  
at org.elasticsearch.marvel.agent.exporter.ExportBulk$Compound.flush(ExportBulk.java:106)  
... 3 more  
Caused by: ElasticsearchException[failure in bulk execution, only the first 100 failures are printed:]  
at org.elasticsearch.marvel.agent.exporter.local.LocalBulk.flush(LocalBulk.java:118)  
at org.elasticsearch.marvel.agent.exporter.ExportBulk$Compound.flush(ExportBulk.java:101)

Thanks & Regards,

---

<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 6, 2017, 11:00pm UTC](https://discuss.elastic.co/t/marvel-agent-error/70820/2 "2017-01-06T23:00:27Z")

</div>

What version are you on?  
How did you disable Shield?

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [January 7, 2017, 12:48am UTC](https://discuss.elastic.co/t/marvel-agent-error/70820/3 "2017-01-07T00:48:17Z")

</div>

Hi @piyush,

Can you show your Elasticsearch configuration and provide:

```auto
curl -XGET localhost:9200/_cat/plugins?v

```

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [January 7, 2017, 5:26am UTC](https://discuss.elastic.co/t/marvel-agent-error/70820/4 "2017-01-07T05:26:54Z")

</div>

Marvel 2.2.0 and ES 2.3.1

Disabled shield by making it's property false in elastic search.yml

Shield.enabled = false

---

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [January 9, 2017, 4:35pm UTC](https://discuss.elastic.co/t/marvel-agent-error/70820/5 "2017-01-09T16:35:56Z")

</div>

PFB:  
name component version type url  
ccsd-es-0033 license 2.3.1 j  
ccsd-es-0033 marvel-agent 2.3.1 j  
ccsd-es-0033 shield 2.3.1 j  
ccsd-es-0033 watcher 2.3.1 j  
ccsd-es-0041 license 2.3.1 j  
ccsd-es-0041 marvel-agent 2.3.1 j  
ccsd-es-0041 shield 2.3.1 j  
ccsd-es-0041 watcher 2.3.1 j  
ccsd-es-0044 license 2.3.1 j  
ccsd-es-0044 marvel-agent 2.3.1 j  
ccsd-es-0044 shield 2.3.1 j  
ccsd-es-0044 watcher 2.3.1 j  
ccsd-es-0034 license 2.3.1 j  
ccsd-es-0034 marvel-agent 2.3.1 j  
ccsd-es-0034 shield 2.3.1 j  
ccsd-es-0034 watcher 2.3.1 j  
es-client-node lang-python 2.3.1 j  
es-client-node license 2.3.1 j  
es-client-node marvel-agent 2.3.1 j  
es-client-node shield 2.3.1 j  
es-client-node watcher 2.3.1 j  
ccsd-es-0043 license 2.3.1 j  
ccsd-es-0043 marvel-agent 2.3.1 j  
ccsd-es-0043 shield 2.3.1 j  
ccsd-es-0043 watcher 2.3.1 j  
es-master-node lang-python 2.3.1 j  
es-master-node license 2.3.1 j  
es-master-node marvel-agent 2.3.1 j  
es-master-node shield 2.3.1 j  
es-master-node watcher 2.3.1 j  
ccsd-es-0039 license 2.3.1 j  
ccsd-es-0039 marvel-agent 2.3.1 j  
ccsd-es-0039 shield 2.3.1 j  
ccsd-es-0039 watcher 2.3.1 j  
ccsd-es-0031 license 2.3.1 j  
ccsd-es-0031 marvel-agent 2.3.1 j  
ccsd-es-0031 shield 2.3.1 j  
ccsd-es-0031 watcher 2.3.1 j  
ccsd-es-0042 license 2.3.1 j  
ccsd-es-0042 marvel-agent 2.3.1 j  
ccsd-es-0042 shield 2.3.1 j  
ccsd-es-0042 watcher 2.3.1 j  
ccsd-es-0040 license 2.3.1 j  
ccsd-es-0040 marvel-agent 2.3.1 j  
ccsd-es-0040 shield 2.3.1 j  
ccsd-es-0040 watcher 2.3.1 j  
ccsd-es-0036 license 2.3.1 j  
ccsd-es-0036 marvel-agent 2.3.1 j  
ccsd-es-0036 shield 2.3.1 j  
ccsd-es-0036 watcher 2.3.1 j

---

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [January 9, 2017, 8:48pm UTC](https://discuss.elastic.co/t/marvel-agent-error/70820/6 "2017-01-09T20:48:06Z")

</div>

It's resolved...

i deleted .marvel index.

---

<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:** [February 6, 2017, 8:48pm UTC](https://discuss.elastic.co/t/marvel-agent-error/70820/7 "2017-02-06T20:48:53Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
