Currently, we are using ELK stack for analysis of access logs
but we are not able to query specific pattern in field ex
in URL field there I have to filter only those URL how to have
/topic/something-something/public
/topic/something-nothing/public
/topic/something-one-thing/public
/topic/something-anything/public
/topic/something-many-thing/public
etc.
not these
/topic/hello
/topic/world
/public/hello
/public/world
how can I do that in Kibana dashboard's simple syntax query space
I am using ELK stack 6.3.2
The first thing to understand is the difference between text and keyword fields.
text = analyzed (split by spaces and slashes into individual terms) keyword = unanalyzed, sometimes also called raw (not split)
By example, here's a URL in an index of mine that shows 2 variations. One has .analyzed on the end which is indicating it's text which has been analyzed. That means it was parsed into terms by breaking the whole string up by spaces, slashes, and other non-alpha characters. The other is a keyword which means it's not broken up.
So in Discover, if I want to specify a whole expression to match a URL, I would use that unanalyzed build.console-url field and use backslashes to escape the forwards slashes and the :. I'm leaving a * on the end as a wildcard.
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.