Ok, I'm a elastic newbie (<8hrs and 100+ usages of "curl -XDELETE 'http://localhost:9200/_all'"...;).
I simply want to create a filter that searches the string content of a specific field (POND_NAME) and returns all records that start with "BABING". I've tried all the flavors of POND_NAME:BABINGTON* possible but none seem to work. What am I doing wrong? This should be simple!
I had to set the field as not_analyzed because the multi-name pond names were getting broken up into multiple different ponds. For example "BABINGTON C4" became two ponds "BABINGTON" and "C4"...
IPV4_SRC_ADDR contains IP such as 10.0.0.1, 10.0.0.2, 192.168.0.10, etc. L7_PROTO_NAME contains protocol name such as SSL, HTTP, HTTPS, DNS, SSL.Google
Using wildcard on both fields, I can successfully get result for
IPV4_SRC_ADDR:10.0.*
which shows me 10.0.0.1 and 10.0.0.2, but when I run for L7_PROTO_NAME
L7_PROTO_NAME: "HTTP*"
then no result shows up
I don't know why I got different behaviors with wildcard search on the same field type and not_analyzed?
Thank you! That's going to work for me. I use the "analyzed" POND_NAME field to filter with wildcards and I use the "non-analyzed" field POND_NAME.raw to query by POND NAME.
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.