I'm looking for ways to optimize the current query for my access log. I'm trying to get all non-static reuqests to my dashboard as fast as possible. At the moment I'm just looking for ways to get the query as sleek as possible.
At the moment it looks loke this:
I'll have to expand the file types later, but at the moment this one day query takes more than a second to finish. Also, I want to create various queries from this one to fulfill my needs. Simply caching after the first request isn't a solution, they'll have to be live data.
Thank you! I had already those in both analyzed and non-analyzed index. It boosted the query and learned that it'll be faster to search for a fix term when it's possible. Now it looks like this:
Yes, I know that this is the main problem with this query
Unfortunately, there are several various cases where I can't extract the information I need. Requests can have arguments, and there can be more than one file request at the same time. I'm working on a solution to make it work, but it'll take time to finish and implement it. Meanwhile, I need this to be as efficient as it can.
Thank you, Isabel!
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.