I have a problem with Elasticsearch and I need help.
I have logs and With logstash I extract several information that I place in different fields.
And when I do a search on elasticsearch so that it only returns a particular field, it shows me only the precise field but it also shows me all the documents that don't contain this field.
You should update your query to use bool logic and add a condition that states that the Pilote field must exist. I believe your problem is that all of the records meet the connid condition, but only the one has the field that you are interested in. You may have to play with this example, but it should be close.
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.