Getting Data In

Can you help me with a source type issue involving advanced parameters?

jip31
Motivator

Hello,

I need to create a source type from a log file in an attachment.
But, when I upload the file, I have a result like below:

x00-\x00+\x00+\x00-\x00 \x00C\x00:\x00

what is the problem please???

alt text

0 Karma

harsmarvania57
Ultra Champion

This is mostly due to character encoding. If you know that what type of character set is present in your log file then you can use CHARSET parameter in props.conf, more documentation http://docs.splunk.com/Documentation/Splunk/7.2.0/Data/Configurecharactersetencoding

0 Karma

ddrillic
Ultra Champion

You are most likely having the issue described at How do I remove \x00 characters from my log message?

I used the solution prescribed by @JSapienza in props.conf of the indexers and it worked perfectly fine -

SEDCMD-StripNULL= s/\x00//g

Please let us know.

0 Karma

jip31
Motivator

thanks but it doesnt work for me

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

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...

Index This | How many sevens are there between 1 and 100?

August 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...