Answer the question
In order to leave comments, you need to log in
Why in Elasticsearch as backend of Logstash all fields are of string type?
Hello.
We are introducing the ELK stack into the infrastructure, we decided to do a pilot launch on nginx access logs. We installed everything, set up the collection, but when it came to analytics, it turned out that it was impossible to do any arithmetic aggregations in Kibana, after a short trial it turned out that all fields in ES have type: string and because of this it is impossible to do Sum or Avg.
I specifically flipped through a bunch of tutorials on installing ELK, but the mappings are not explicitly written anywhere, from which I can conclude that people have the right types out of the box.
Question: what did we do wrong and how can this situation be corrected without losing the data already collected?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question