# Logstash to ignore beat.hostname to set as host , and use logstash server hostname as o/p

**URL:** <https://discuss.elastic.co/t/logstash-to-ignore-beat-hostname-to-set-as-host-and-use-logstash-server-hostname-as-o-p/66325>\
**Category:** Logstash\
**Created:** [November 17, 2016, 5:20am UTC](https://discuss.elastic.co/t/logstash-to-ignore-beat-hostname-to-set-as-host-and-use-logstash-server-hostname-as-o-p/66325 "2016-11-17T05:20:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prashant\_Agrawal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashant_agrawal/32/74982_2.png) [@Prashant\_Agrawal](https://discuss.elastic.co/u/Prashant_Agrawal)\
**Post date:** [November 17, 2016, 5:20am UTC](https://discuss.elastic.co/t/logstash-to-ignore-beat-hostname-to-set-as-host-and-use-logstash-server-hostname-as-o-p/66325/1 "2016-11-17T05:20:18Z")

</div>

Hi ,

we have a use case where we send data from beat to logstash to ES.

so while doing this logstash adds host as per recieved in beats.hostname , so how can I make logstash to output the host value as per logstash machine.

---

<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:** [December 15, 2016, 5:20am UTC](https://discuss.elastic.co/t/logstash-to-ignore-beat-hostname-to-set-as-host-and-use-logstash-server-hostname-as-o-p/66325/2 "2016-12-15T05:20:30Z")

</div>

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