Hey all,
Just wanted to let everyone know we just rolled out log search with Logflare!
It’s pretty cool. Just do a search, events matching the past 24 hours will return, and new events matching will stream to your browser. If you turn off Live Search it’ll search your entire log history in a few seconds (currently limiting to 10GB of history).
You can do a simple search that will match the log event message. But you can also query individual fields with dot notation. You can even combine multiple of these to get super specific.
Some examples:
5xx Status Codes
metadata.response.status_code:>=500 metadata.response.status_code:<600
All Logs Between Dates
timestamp:>=2019-07-01 timestamp:<=2019-07-02
403 Status Codes Exactly
metadata.response.status_code:403
Requsts Longer than 5,000ms
metadata.response.origin_time:>5000
URLs with /blog
in Them
metadata.request.url:~"^(.*?)\/blog"
Just navigate to your source and you should see the search field at the bottom.
I’m sure there are plenty of bugs so if you find one please reach out