Getting Data In

Character encoding when sending to TCP port

helge
Builder

I am sending data to a TCP port I configured for input on the Splunk server. How should the (string) data be encoded - ASCII, ANSI (in that case: which codepage?), UTF-8 or UTF-16 (aka UCS-2)?

0 Karma
1 Solution

helge
Builder

Based on my experiments it seems Splunk expects the encoding to be UTF-8. I sent strings with German, Greek and Russing special characters and they were displayed correctly in the web UI.

Example:

alt text

I also tried UCS-2, but that did not work out too well:

alt text

View solution in original post

0 Karma

helge
Builder

Based on my experiments it seems Splunk expects the encoding to be UTF-8. I sent strings with German, Greek and Russing special characters and they were displayed correctly in the web UI.

Example:

alt text

I also tried UCS-2, but that did not work out too well:

alt text

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...