Convert HEx to ascii

Hi again :slight_smile: In my current Project we are using dlt-tools to convert dlt logs into ascii to be read by logstash. Our dlt viewer is using a specific plugin to convert some lines from hex to ascii.
This is our log structure:
Index Timestamp Timestamp Tag1 Tag2 Tag3 Payload
When Payload is hex it is also surrounded by [SOME HEX] brackets.
What we would need is a dynamic logstash config that detects when Payload is Hex and then use some plugin to turn it into text (if the conversion works for us at all)
Thanks

Logstash provide ruby filter that can be used to provide custom code
here is an example

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.