Home:ALL Converter>In Sumo Logic, how to search for logs matching a regular expression?

In Sumo Logic, how to search for logs matching a regular expression?

Ask Time:2018-12-01T03:13:51         Author:Kurt Peek

Json Formatter

I'm trying to do a Sumo Logic search for logs matching the following regular expression:

"Authorization \d+ for story is not voided. Story not removed"

That is, the \d+ consists of one or more digits, but it doesn't matter what they are exactly.

Based on the search examples cheat sheet (https://help.sumologic.com/05Search/Search-Cheat-Sheets/General-Search-Examples-Cheat-Sheet), I've tried to use a * | parse regex pattern for this, but that doesn't work:

enter image description here

I get a 'No capture group found in regex' error. I'm actually not really interested in capturing the digits, though, just in matching the regular expression in my search. How can I achieve this?

Author:Kurt Peek,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/53563529/in-sumo-logic-how-to-search-for-logs-matching-a-regular-expression
yy