All Apps and Add-ons

Decode msgpack input, or convert to json.

Rialf1959
Explorer

Hello,
is possible to decode msgpack (TCP input) ?

Data are incoming in readable format (not in HEX), for example:

\x92\xD9@splunkprefiltered.docker.app.1.k8gfal13jx42stjeeok41nq8d.perf03\xDB\x00\x00M\xE2\x92\xCEZ.\x95\x00\x88\xA3log\xDA"\x842017-12-11 15:23:12,035 ERROR  [org.jboss.as.ejb3] (EJB default - 3) WFLYEJB0022:
...

Covert to json would be enough for me.
Thanks

Tags (1)
0 Karma

Damien_Dallimor
Ultra Champion

Yes it is possible. You just write a custom data handler and declare it to be applied to your TCP Input.

There are simple examples that ship with the app that you can leverage to get started.

There are many msgpack libraries on Github you could also use for the decoding logic.

0 Karma

Rialf1959
Explorer

Thanks. But I am not a programmer.. So bad luck...

0 Karma

Damien_Dallimor
Ultra Champion

Fortunately we provide commercial support for all our free offerings such as Protocol Data Inputs , so it's rather good luck 🙂 Please get in touch with us , we'd be happy to perform the custom development work for you , www.baboonbones.com

0 Karma

Rialf1959
Explorer

And Im guessing that this addon does works only on Heavy Forwarder, right? I have universal forwarder.

0 Karma

Damien_Dallimor
Ultra Champion

Universal and Heavy Forwarder.

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...