I have tried using the standard JSON parser for the below log file, but it doesn't work. I also tried to create a regex parser, but the problem I think is that the file lacks any newline characters. Logmx picks up the first set of tags, but then logs the rest of the file as the message as if it is all just one entry.
Code: Select all
[{"d":"Thu, 12 Mar 2020 16:29:49 GMT","t":"WARN","m":"[VidyoMediaManager] The sococo camera limit is 4 "},{"d":"Thu, 12 Mar 2020 16:29:49 GMT","t":"WARN","m":"[Vidyo] service initialized "},{"d":"Thu, 12 Mar 2020 16:29:50 GMT","t":"WARN","m":"[vidyoplugin] presence connected: firstload: true, gated: false, failed: false "},{"d":"Thu, 12 Mar 2020 16:31:43 GMT","t":"WARN","m":"$health(Media Connection) is -> Failed ✖"},{"d":"Thu, 12 Mar 2020 16:31:43 GMT","t":"WARN","m":"$health(Media Connection) is repaired ✓"},{"d":"Thu, 12 Mar 2020 16:32:36 GMT","t":"WARN","m":"$health(Media Connection) is -> Failed ✖"}]
Code: Select all
.*?\"(\w{3}, \d{2} \w{3} \d{4} \d{2}:\d{2}:\d{2}).*?:\"(\w+?)\".*?:\"(\[.*?\])?(.*)\},?
thank you, Rod