# Marvel Agent Ignoring settings and writing locally

**URL:** https://discuss.elastic.co/t/marvel-agent-ignoring-settings-and-writing-locally/44579
**Category:** Elasticsearch
**Tags:** elastic-stack-monitoring
**Created:** [March 16, 2016, 3:34pm UTC](https://discuss.elastic.co/t/marvel-agent-ignoring-settings-and-writing-locally/44579 "2016-03-16T15:34:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![flyingrabbit](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@flyingrabbit](https://discuss.elastic.co/u/flyingrabbit)
#### Post date: [March 16, 2016, 3:34pm UTC](https://discuss.elastic.co/t/marvel-agent-ignoring-settings-and-writing-locally/44579/1 "2016-03-16T15:34:33Z")

</div>

Hi All, Thanks for any advice anyone can give on this issue!  
My setting for Marvel agent in my production cluster is  
marvel.agent.exporters  
id1:  
type: http  
host: ["[http://MonitoringNodeName:9200/](http://MonitoringNodeName:9200/)"

I can get to [http://MonitoringNodeName:9200/](http://MonitoringNodeName:9200/) from any node in the production cluster and see head for example.

But for some reason I get a lot of index not found errors in the main cluster log. Then just for the heck of it I manually created the index with today's date on the production cluster.

It immediately started filling with data. Why is the marvel.agent.exporters setting being ignored?

---

<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: [March 16, 2016, 8:56pm UTC](https://discuss.elastic.co/t/marvel-agent-ignoring-settings-and-writing-locally/44579/2 "2016-03-16T20:56:33Z")

</div>

YAML is very sensitive to whitespace. Your issue is most likely related to that:

```auto
marvel.agent.exporters
  id1:
    type: http
    host: ["http://MonitoringNodeName:9200/"]

```

You were also missing a `]` at the end of the example, but hopefully it was just a copy/paste issue.

---

<div class="post-metadata">

### Author: ![flyingrabbit](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@flyingrabbit](https://discuss.elastic.co/u/flyingrabbit)
#### Post date: [March 17, 2016, 1:54pm UTC](https://discuss.elastic.co/t/marvel-agent-ignoring-settings-and-writing-locally/44579/3 "2016-03-17T13:54:09Z")

</div>

Hi pickypg,

How do you post the code on this forum so it displays correctly?

---

<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/marvel-agent-ignoring-settings-and-writing-locally/44579/4 "2017-07-06T13:45:01Z")

</div>


