Can't make json parser work

Posted on Oct 20, 2020 at 8:04 PM
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
Posted on Oct 20, 2020 at 8:10 PM
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
Posted on Oct 20, 2020 at 8:21 PM
That was it! Can't believe it was that simple. Now my complex JSON parser works perfectly.

Thanks for the super quick response!
Posted on Oct 21, 2020 at 7:11 AM
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

This topic is closed and cannot receive new replies.