All Apps and Add-ons

DB Connect V3 database input indexes encoded text \ gibberish

lior_g
Explorer

Hello,
I'm having problems with indexing data from a database using DB Connect V3.
I'm able to index the specific database and the results show on my search head, the problem is some values of specific columns which are in Hebrew aren't being shown correctly. They show up as unicode's unknown character symbol -
unicode's unknown character symbol

I've tried adding the following props.conf settings under the search head
[specific_sourcetype]
charset = UTF-8

Still doesn't seem to work.

Thanks.

0 Karma
1 Solution

lior_g
Explorer

Got it.

I added the following parameters to the JVM options (In the same line: -param1 -param2 -param3)
-Dfile.encoding=UTF-8 -DdefaultCharset=UTF-8

Thanks to @cdpascariu who answered it here:
https://answers.splunk.com/answers/511477/how-to-configure-character-set-encoding-when-using-1.html

View solution in original post

0 Karma

lior_g
Explorer

Got it.

I added the following parameters to the JVM options (In the same line: -param1 -param2 -param3)
-Dfile.encoding=UTF-8 -DdefaultCharset=UTF-8

Thanks to @cdpascariu who answered it here:
https://answers.splunk.com/answers/511477/how-to-configure-character-set-encoding-when-using-1.html

0 Karma

lior_g
Explorer

Tried adding the props.conf above under the Heavy Forwarder itself according to this
https://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F
Hebrew still doesn't show up correctly.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...