I'm facing an issue with indexing the following event in logstash.
{
"event_id" : 132,
"thread_id" : 5664,
"record_number" : "1270538",
"beat" : {
"hostname" : "my_host",
"version" : "5.4.2",
"name" : "events"
}
}
instead of indexing the fields as beat.hostname, i want to index it as just hostname