Operators for filtering logs
tsykin
HOBBYOP

23 days ago

Currently Railway allows for only exact match using @parameter:value syntax. This is useful when searching for string values, for example @level:warn, but this is not helpful when searching for number values.

Let's say I want to answer the question "What specific HTTP requests to see which took >500 ms?". Current implementation of logs search doesn't allow that.

Hopefully this will be soon implemented, as it's a crucial piece of information when trying to optimize your app. Syntax could be simple, for example: @totalDuration:>500

I even reached out on Twitter and the answer was to create a suggestion on Railway station: https://x.com/thisismahmoud/status/1990528383898521748

Relevant docs: https://docs.railway.com/guides/logs#filtering-logs

Thank you, Railway Team!

Under Review

0 Threads mention this feature

0 Replies

Loading...