4

I want to search using a regular expression in the search bar of Papertrailapp.

When I try some thing like this

randomText \(\d\d\d

Expected result : randomText (223

Actual Result : No search found.

Any guidance on this will be appreciated. Thanks.

Kaustubh Desai
  • 396
  • 3
  • 13
  • what is Papertrailapp? give us a sample input string and your desired output! – SoheilYou Mar 03 '19 at 08:10
  • For example I would like to find 5xx (Internal server error, Service unavailable, Bad gateway). What would be it's regular expression as "5\d\d" does not work. Papertrail app is a utility where you can search for string, patterns in your centralised log server. https://papertrailapp.com/ – Kaustubh Desai Mar 09 '19 at 03:09

1 Answers1

2

Unfortunately, it is not possible to use Regex directly within log search. See the search documentation here.

However, you can use regex when creating re-usable log filters which, depending on your usage, may be what you're looking for. See this documentation.

FooBar
  • 419
  • 5
  • 14