Hi,
Is it possible in kibana to search for a substring contained within a specific field?
Hi,
Is it possible in kibana to search for a substring contained within a specific field?
hi @ghouston10,
I think the answer is, it depends.
See here for an example: Substring in painless
url:https*
to search for all https calls. The wildcard query in lucene cannot be put at the start of a string. More info on that here: https://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Terms
Hi,
Thanks for the reply. I would be performing the search using dev tools within Kibana. How would it be implemented there?
Thanks
In the console, you would just put raw ES-queries. You probably want to look at the regexp searching:
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html
Note that this only works on keyword fields, not on analyzed fields.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.