LogViewPlus Support

Can't make json parser work

https://www.logviewplus.com/forum/Topic805.aspx

By fcharron - 20 Oct 2020

Hi,

After fiddling with the JSON parser for awhile, I tried the most basic example:

Sample JSON Log Entry: {"test":"testing"}
Parser configuration: {"test": "%m"}

And the "Next" button stays grayed out.

Am I missing something?

Thanks in advance
By LogViewPlus Support - 20 Oct 2020

Hi,

All log entries must have a timestamp defined (%d).  It looks like that might be the problem here.

If you want to send a sample log entry, I might be able to help with the configuration.

Hope that helps,

Toby
By fcharron - 20 Oct 2020

That was it! Can't believe it was that simple. Now my complex JSON parser works perfectly.

Thanks for the super quick response!
By LogViewPlus Support - 21 Oct 2020

Glad to hear you got it working - thanks for letting me know.

I have made a note to look at this for the next release.  This should really be more intuitive.  I will see what we can do.

Thanks,

Toby