We encourage our customers to always share new feature ideas with us, and one common request we have been hearing is for the ability to save log searches so they can easily be run later.
We’re happy to announce that this feature has just been released!
I wanted to share why I think saved searches is an exciting enhancement to the Logentries service. With saved searches, you no longer need to remember or store your complex searches. You can easily recall them in one click and run them instantly. And, with custom naming, you can include context and relevancy for the search so that it can be visible and shared across your entire team!
So let’s get into the details. Once you are logged into your Logentries account, you will now see a star and a drop down symbol to the right of the search box when searching logs.
In order to save your current search all you have to do is click on the star. Now if you or any other user in the same account clicks on the dropdown symbol then all the previously saved searches will be displayed.
It’s also possible to edit a saved search in order to give it a name or change the query. Just click on the ‘edit query’ link and you’ll be shown the modal below.
As can be seen from the example images above this feature works really well in conjunction with search functions. For example let’s say that you want to analyze the average response time in your application to access a resource. We’ll assume that you’re writing logs that look like the following:
2014-04-08 09:34:46.063822: user=User1 resource=r12 response_time=25
To get the average response times for the r12 resource you can run the following search:
r12 AND response_time>0|AVERAGE
A nice table and graph will be displayed.
Once this search is saved, whenever a teammate clicks on the saved search they will see a similar graph.
We’d love to hear feedback on the new Saved Search feature, and any other ideas you have!