Splunk Search

props.conf only partially applied to forwarded data source

redc
Builder

I'm attempting to set up a new daily data source which is sent to the indexer through the Splunk Fowarder. Unlike most of the other data sets I've indexed up to this point, this source has a header line on each file that is generated (and the files are rolled daily). I don't want to index the header over and over again, I just want the data. I've looked around and set up my props.conf and transforms.conf in a way that seems like it should work.

props.confs

[leads]
INDEXED_EXTRACTIONS=TSV
SHOULD_LINEMERGE=false
TIME_FORMAT=%m/%d/%Y
pulldown_type=1
NO_BINARY_CHECK=1
FIELD_NAMES=Date,Count,Type,ClientID,ProductID,SponsorID,SponsorshipID
TRANSFORMS-tonull = strip_header

transforms.conf

[strip_header]
REGEX = ^D
DEST_KEY = queue
FORMAT = nullQueue

Sample Data Set

Date    Count   Type    ClientID    ProductID   SponsorID   SponsorshipID   
03/07/2014  1   PPV webinars    1065768 157 448

When I index the data set manually through a one-time Data Inputs import, I'm able to run searches for Count, ClientID, etc. The fields are extracted.

When the same data set comes through from the Forwarder, no fields are extracted, so then I can't run searches on the fields. BUT! The header is suppressed from being indexed.

What the devil am I missing?

EDIT: It may be worth noting that I'm doing this on the props.conf and transforms.conf on the indexer, NOT on the source server.

0 Karma
1 Solution

redc
Builder

I'm not sure this is necessarily the correct way to do it, but placing the props.conf and transforms.conf changes on the server running the forwarder (in etc/system/local) worked like a charm.

View solution in original post

0 Karma

redc
Builder

I'm not sure this is necessarily the correct way to do it, but placing the props.conf and transforms.conf changes on the server running the forwarder (in etc/system/local) worked like a charm.

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!

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...