# Simplify "host" field output from logstash

**URL:** <https://discuss.elastic.co/t/simplify-host-field-output-from-logstash/206850>\
**Category:** Logstash\
**Created:** [November 6, 2019, 6:37pm UTC](https://discuss.elastic.co/t/simplify-host-field-output-from-logstash/206850 "2019-11-06T18:37:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thadc](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@thadc](https://discuss.elastic.co/u/thadc)\
**Post date:** [November 6, 2019, 6:37pm UTC](https://discuss.elastic.co/t/simplify-host-field-output-from-logstash/206850/1 "2019-11-06T18:37:56Z")

</div>

Hello,  
The current output of the default host field from my logstash is:

"host": {  
"name": " _name\_of\_host_ "  
},

I have a need for the host to appear simply as:

"host": " _name\_of\_host_ "

The reason for this needed change is related how kibana is expecting to find the "host" for building dashboards that need the host field. I have tried tweaks such as renaming the default "hostname" field (which has the structure I need) to "host". However, default fields from filebeat cannot be renamed in logstash. Any ideas are greatly appreciated. Thank you

---

<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 5, 2019, 1:58pm UTC](https://discuss.elastic.co/t/simplify-host-field-output-from-logstash/206850/3 "2019-12-05T13:58:40Z")

</div>

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