I am using Graylog as our web interface and have Elasticsearch in the backend. We run aggregation searches for alerting in Graylog, but we seem to be getting errors which cause Elasticsearch to stop working for a few minutes.
I have tried setting my index mapping to field data = true for the streams field but that didn't seem to work.
Below is the offending log within the ES log file.
The error from your log is java.lang.IllegalStateException: "value source config is invalid; must have either a field context or a script or marked as unwrapped".
I wonder if you can run the query in the log directly against elasticsearch.
From what I can see on my phone the aggregation looks like it's missing a field setting for the terms aggregation.
@Mark_Harwood
The aggregation searches are coming from inbuilt alerting functions on the Graylog web client, I am unsure how I would remove the gl2_terms field from the query.
I will let the guys at Graylog know and maybe then can do some further testing and resolve the issue.
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.