Hello,
I take this error in Kibana :
Error! Exception while fetching hosts : beat.hostname field not of type keyword or keyword mapping does not exist.
I have this configuration in logtrail.json:
{
"version" : 1,
"index_patterns" : [
{
"es": {
"default_index": "filebeat-*"
},
"tail_interval_in_seconds": 10,
"es_index_time_offset_in_seconds": 0,
"display_timezone": "local",
"display_timestamp_format": "MMM DD HH:mm:ss",
"max_buckets": 500,
"default_time_range_in_days" : 0,
"max_hosts": 100,
"max_events_to_keep_in_viewer": 5000,
"fields" : {
"mapping" : {
"timestamp" : "@timestamp",
"hostname" : "beat.hostname",
"program": "source",
"message": "message"
},
"message_format": "{{{source}}} {{{message}}}"
},
"color_mapping" : {
}
}
]
}
All is at the newest version.
How to resolve this problem ?