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
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...