Getting Data In

Data is not being registered by Universal Forwarder- Which part should I check?

hhhwang
Explorer

Data cannot be registered by Universal Forwarder.

There are a total of 12 Universal Forwarders.

Only one of these universal forwarders registers data.

Even if I change crcSalt, the data cannot be registered.

Which part should I check?

 

<setting>

[monitor://D:\Splunk\iocheck\PMC*\PMC*.csv]
disabled = 0 
index = pmc
host_segment = 3
sourcetype = pmc_iotable
crcSalt = <SOURCE>

Labels (1)
Tags (1)
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

Hi @hhhwang,

Your input is disabled. And also please check if "iocheck" is the hostname of that sample UF. If not you should change host_segment with the correct segment. Please test below;

[monitor://D:\Splunk\iocheck\PMC*\PMC*.csv]
disabled = 0 
index = pmc
host_segment = 3
sourcetype = pmc_iotable
crcSalt = <SOURCE>
If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

scelikok
SplunkTrust
SplunkTrust

Hi @hhhwang,

Yes, disabled = 0 means enabled. It is not possible to collect data with disabled = 1.

Also if the file path you monitor does not have a hostname you can delete the host_segment setting. It will capture the correct hostname of UF.

Maybe because of the wrong host value, your events are going to Splunk as if they are on the same host.

Please try deleting the host_segment line. 

I don't have any other reason for the occasional problem.

If this reply helps you an upvote and "Accept as Solution" is appreciated.

scelikok
SplunkTrust
SplunkTrust

Hi @hhhwang,

Your input is disabled. And also please check if "iocheck" is the hostname of that sample UF. If not you should change host_segment with the correct segment. Please test below;

[monitor://D:\Splunk\iocheck\PMC*\PMC*.csv]
disabled = 0 
index = pmc
host_segment = 3
sourcetype = pmc_iotable
crcSalt = <SOURCE>
If this reply helps you an upvote and "Accept as Solution" is appreciated.

hhhwang
Explorer

Hi, @scelikok,

disabled = 0 is enabled, disabled = 1 is disabled, isn't it?

And the host name is different from the name of UF.

Splunk is installed and used on a per-device basis, and this issue occurs occasionally. In other cases, the data is collected well.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

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

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 ...

Wondering How to Build Resiliency in the Cloud?

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