I generate the hash field in Logstash similar to this:
{components: ["foo", "bar", "foo bar"]}
I pass it to Elasticsearch and when I want to get the count of occurencies of each string I have only foo
and bar
in Kibana as they foo bar
is splitted.
How to disable this split so I can get real values ? For now I'm using gsub to change all spaces to underscores but it's not the goal.