Getting Data In

Wrong fields on receiver instance

Caio_Santos
Path Finder

One Splunk instance is forwarding data to a receiver, however the receiver is indexing the data and getting the wrong fields from another source.

So the forwarder has fields describing physical disk monitoring. The receiver has fields of logical disk monitoring of another instance, but before I forward this physical disk data I cleaned everything on my receiver index.

alt text

alt text

Thank you in advance!

0 Karma

Mick
Splunk Employee
Splunk Employee

Unfortunately the screenshots are too small for me to be able to make out exactly what is being displayed, but it sounds to me like you have some different extraction rules on your indexer than your forwarder.

For .csv files, Splunk can't recognize key-value pairs using the same logic that it does with other log types. It usually depends on the first line of the .csv file and extracts the field names from there. If the file your sending to the indexer, matches an already "learned" csv format, then Splunk will use the field names from that config.

If you take a look in $SPLUNK_HOME/etc/apps/learned/local/props.conf you'll see all of the 'learned' sourcetypes that Splunk has picked up since it started. Do any of the stanzas in there match up with what you're seeing in the fields list?

0 Karma

Caio_Santos
Path Finder

if you have a zoom with your brownser you might be able to better see the screenshots [i did it here before posting it and worked, but i'm sorry for this].
Mick probably what you are saying it's what happened, because before i attempt to forward this .csv file I indexed on the receiver another .csv file format. however, how i said i thought that cleaning the indexes would solve my problem but it didn't.

Here it's what i found in the receiver's props.conf:

[csv-2]
KV_MODE = none
REPORT-AutoHeader = AutoHeader-1
SHOULD_LINEMERGE = False
pulldown_type = true

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Quantify Your Splunk Investment Impact: Introducing Savings Metrics to Value Insights

Building on the foundation established in our initial Value Insights releases, we are introducing the Savings ...

Event Series: Telemetry Pipeline Management

Balancing Scale and Spend: Gaining Control Over High-Volume Metrics in Splunk Observability Cloud As ...

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...