I'm testing ELK stack for nginx-access logs. It looks good except I have not found a way to search records in Kibana Discovery (v5.3.2) with a path that contains '/test/a'. Search works if I remove slashes, but in this case, I get more records that I need (ff/testtt/sss, '/ololo/oolo?testtestt', ...)
The issue is because the field is being tokenized using the standard analyzer. If you have a non-analyzed version you can search for an escaped substring.
Here my query is being tokenized so the slash gets removed, and the tokens match the tokens in the field, but not the slash (so as you mention, it will match more than you want)
Here I am searching on the non-analyzed version of the field, so I can search an exact substring. Using * in the query causes the query to not be analyzed to my slashes are preserved.
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.