Set the default search time

davemcdavemc Community Guy admin
edited April 2019 in Tips and Tricks

By default, all searches are performed for the past four hours. You can customize this by modifying the /scalyr/logs configuration file. Add a defaultSearchTimeSpan property to the JSON file. The value can be any time string between 5 minutes and 4 hours; e.g. "10 minutes" or "2 hours". If you have a large log volume, using a shorter time span can speed up searches.

`{
...

defaultSearchTimeSpan: "20 minutes"

}`

Scalyr Community Guy and Evangelist
Open source geek. Standards wonk. Will talk about anything.

Comments

Sign In or Register to comment.