Hi,
can anybody tell me where I can find the config, displayed in kibana to set ignore_above to a higher value? I'm using Ubuntu.
The current 256 chars don't fit as we often get longer messages (even after parsing). Currently I've got to use the truncate filter which often cuts off relevant informations.
Well, yes @LizaD this was my plan. But where? We‘re using Elasticsearch 2 times: One time as a search engine, the second time for log storage. On the searching one I know where to put it. But on the 2nd installation which is basically install Elasticsearch, Logstash and Kibana and let it go I‘ve got troubles where to change it as just using Elasticsearch at the Logstash output pipelines config. So I need the config file - where it’s usually located to change this param.
You can use curl request or Kibana Devtools console to send the API requests on the index, I am not sure ignore_above goes into the config file itself. I will see if I can get someone to give more details.
Just as @LizaD recommended, I would suggest updating the ignore_above[1] configuration for strings in your index templates associated with your Logstash indices. This can either be done by editing the existing default logstash mapping, or by applying a new template that takes precedence [2] over the existing ones.
Without knowing exactly how your Logstash mappings are determined, I will try and share a snippet of a new template that would define the behavior I believe you are hoping to modify.
You can find the default template for Logstash and ES 7.x here [3] You will notice that there is no explicit mention of the ignore_above: 256 there. That is because this is a global Elasticsearch default on all dynamic fields that are recognized as strings. Here is a blog post that explains this. For more information about Logstash template management you can check out the docs
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.