Simplify "host" field output from logstash

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

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