# Problem with filebeat (installed in different servers)

**URL:** <https://discuss.elastic.co/t/problem-with-filebeat-installed-in-different-servers/141548>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 25, 2018, 11:11am UTC](https://discuss.elastic.co/t/problem-with-filebeat-installed-in-different-servers/141548 "2018-07-25T11:11:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimfut](https://avatars.discourse-cdn.com/v4/letter/k/b9e5f3/32.png) [@kimfut](https://discuss.elastic.co/u/kimfut)\
**Post date:** [July 25, 2018, 11:11am UTC](https://discuss.elastic.co/t/problem-with-filebeat-installed-in-different-servers/141548/1 "2018-07-25T11:11:19Z")

</div>

hello everyone ,

i have a problem with filebeat i think , i will explain :

i have server A and B and C , all run filebeat with the same configuration , the server A run logstash and elasticseach , so when i added file in Server B it's okay i can see log in elasticseach (via kibana) which runing on A

but when i added files in server A (which run ELK ) or server C , nothing happen .

i dont know why , i am not sure if this message log of logstash that i got can explain something :

> logstash\_1 | [2018-07-25T11:10:33,455][WARN][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"logstash-cluster2", :\_type=\>"doc", :\_routing=\>nil}, #LogStash::Event:0x16221c45], :response=\>{"index"=\>{"\_index"=\>"logstash-cluster2", "\_type"=\>"doc", "\_id"=\>"c\_Ii0WQBpZGgqA6VJVnt", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse [host]", "caused\_by"=\>{"type"=\>"illegal\_state\_exception", "reason"=\>"Can't get text on a START\_OBJECT at 1:37"}}}}}

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [July 25, 2018, 12:16pm UTC](https://discuss.elastic.co/t/problem-with-filebeat-installed-in-different-servers/141548/2 "2018-07-25T12:16:50Z")

</div>

As a test, could you try this:

- stop Filebeat in server B and C (but keep Filebeat, Elasticsearch, Logstash, and Kibana still running on server A)
- add the same log file that got indexed correctly earlier from server B to server A.

Do you still get the same error?

---

<div class="post-metadata">

**Author:** ![kimfut](https://avatars.discourse-cdn.com/v4/letter/k/b9e5f3/32.png) [@kimfut](https://discuss.elastic.co/u/kimfut)\
**Post date:** [July 25, 2018, 2:42pm UTC](https://discuss.elastic.co/t/problem-with-filebeat-installed-in-different-servers/141548/3 "2018-07-25T14:42:35Z")

</div>

thank you for your reply , i tried it but doen't work , know i think it's a logstash problem , because when i added : stdout { codec =\> rubydebug } in logstash config , i can show logs come from every filebeat on each server , so i have to move to logstash forum

---

<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:** [August 22, 2018, 2:42pm UTC](https://discuss.elastic.co/t/problem-with-filebeat-installed-in-different-servers/141548/4 "2018-08-22T14:42:37Z")

</div>

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