Hey all - I'm new to Kibana/Elasticsearch, and I'm using it to get the number of views for my blog pages. I'm only interested in views of actual pages, not all the things the bots are hitting.' so i've excluded a number of pages by adding a filter on 'url.path'
Worked like a charm! However, now I'm seeing all these hits on images, which I'd like to also exclude by using something like NOT /sites/default/files/inline-images/*
I added it it the same manner that I used to exclude specific URLs, but I can't seem to make a wild card work in the search filter. All suggestions much appreciated!
Thank you so much for responding! However, I tried and sadly it didn't work... Adding the filter on that top line actually made the URLs show up that I am filtering out on the next line....
Hi Jorge! I was using a prebaked Kibana dashboard, so am very new to this. I found that you can look the fields via discover, and it looks like you are right: it says it is a key. I guess I am about to learn how to add an index with url as a text field Would you be able to point me to a knowledge article? Thanks very much!
Sure! Take a look at the Elasticsearch documentation on how to map a field as both a text and a keyword type
The idea is that a text field is available for search and querying while the keyword field is used for aggregations (as your charts). You must first update your index mapping and then update or reindex your index so your dashboards can do both tasks.
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.