There are many convenient string functions and procedures in the nxlog language, but I did not see one for urldecode. I have some data flowing through the web logs that the client is encoding, and it would be useful to have nxlog decode it. For example, something like:

    $data = urldecode("%61%6a%61%78%5f%66%6f%72%6d");   # $data = "ajax_form"

In addition to requesting that functionality, is there any workarounds you could suggest?

AskedMay 17, 2019 - 5:44pm

Answer (1)

I think you have already noticed that this does not exist currently.
As a workaround , you could use xm_perl and write a simple perl script to be used with the events.