Control where sumo logic splits data for large message log

Comments

4 comments

  • Avatar
    Brandon Free

    Updated with some more detail about the JSON object and issues I've found when trying to do multi-line processing.

    0
    Comment actions Permalink
  • Avatar
    Brandon Free

    I've found this regex will group the objects I'm intersted in, however it's not accepted as a boundary regex as it is "invalid or contains restricted patterns"

    ("\/([^"]*)":{"availabilityState":([^}{3}]).*?}{3})

    0
    Comment actions Permalink
  • Avatar
    Brandon Free

    Looks like it accepts that if I escape the brackets, but it still doesn't do anything:

    ("\/([^"]*)":\{"availabilityState":([^\}{3}]).*?\}{3})

    0
    Comment actions Permalink
  • Avatar
    Brandon Free

    Getting some indication that we may be able to use multi-line processing without the new lines if the regex matches up with everything in the message using | or conditions. Tried making a regex for that as follows but still doesn't seem to work:

    \{"system":\{"systemTimestamp":".*?\}|,"pools":|\{"\/.{0,125}":\{"a.*?\}{3}|,"\/.{0,125}":\{"a.*?\}{3,5}

    0
    Comment actions Permalink

Please sign in to leave a comment.