Getting Data In

Monitoing remote file server log have \x00\

kennethyeung
New Member

Usually first few line have issue, I suspect the Application still writing the log to the log file but splunk try to read the log file

Can we setup splunk to wait ?

Tags (1)
0 Karma

ddrillic
Ultra Champion

The following worked for me a couple of times - How do I remove \x00 characters from my log message?

0 Karma

dkeck
Influencer

Hi,

you can not (easily) delay ingestion of data, but see this post for help:
https://answers.splunk.com/answers/705953/can-you-delay-a-universal-forwarder-from-ingesting.html#an...

0 Karma

kennethyeung
New Member

Thanks, my splunk is Windows Server, and the log file we didnt install the agent to forward the log.

we just monitor it by file share

0 Karma

dkeck
Influencer

Doesn´t matter if forwarder or fileshare monitor.

0 Karma

sdchakraborty
Contributor

Hi,

Can you give more details about your problem. An example probably.

Sid

0 Karma

kennethyeung
New Member

example, in the index, i will see below event
1 . \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\ ................................................
2 .#Software: Microsoft Exchange Server

0 Karma

ddrillic
Ultra Champion

Right. If you look at the url I posted you can see the solution -

Automatically at parsing ("indexing") time for any new data, in props.conf -

    [yoursourcetype]
    SEDCMD-remove_nulls = s/\\x00//g
0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...