Filtering with multiple strings in the custom parsing tool?

Hello Rapid7 Community,

We have a troublesome log source that we’re trying to parse using the custom parser. The log source would require us to use the ‘create a filter’ feature and filter based on several strings. After reviewing the documentation (Create Custom Parsing Rules | InsightIDR Documentation) and my experience, it seems that you can only filter based on one string; using an AND operator does not work and is includes the ‘AND’ in the filter.

My question is: Is there a way to use the ‘create a filter’ feature to search based on multiple strings, similar to using the Log Search within IDR.

Thank you.

No this is not possible, what is it that you are trying to custom parse that is proving to be too difficult? Another way to filter the logs to at least get examples of the events to build the parser, is to leverage the time picker to really hone in on the time when at least 10 events occurred that match the logs you are looking to parse

David

We have almost 20 different custom log sources in our IDR environment. This is the first time I’ve seen a parser needing multiple strings. If I need to filter out multiple conditions, use REGEX and build the query in REGEX. All of my custom parsing rules are built that way and it’s far more consistent and reliable than the highlight method.

I’d like to pick your brain because I was not having much luck with regex to pull out multiple strings and had to create a new parser for each string… :frowning:

Can you provide a sample set of logs and explain what you are trying to parse out?