Getting Data In

Index time props and transforms not working

splunkIT
Splunk Employee
Splunk Employee

I have the following props & transforms in splunk dev and prod environment monitoring the same set of iis logs:

props.conf

[source::/var/www/logs/someiislog2*]
CHECK_FOR_HEADER=false
TZ = UTC
pulldown_type = true
MAX_TIMESTAMP_LOOKAHEAD = 32
SHOULD_LINEMERGE = false
EXTRACT-SiteID = (?W3SVC\d+) in source
REPORT-iisFields= iis-c
SEDCMD-001TrimWhiteSpace = s/(\s)\s+/\1/g
SEDCMD-002RemoveCookie = s/(.*\s\d{1,}\.\d{1,}\.\d{1,}\.\d{1,})\s\S+\s(\S+\s.*)/\1 - \2/g
TRANSFORMS-ToIisSourceType = forcetoIISsourcetype

transforms.conf

[iis-c]
DELIMS = " "
FIELDS = date, time, cs_method, cs_uri_stem, cs_uri_query, c_ip, cs_Cookie, cs_Referer, cs_host, sc_status, sc_bytes, time_taken

[forcetoIISsourcetype]
REGEX = .
DEST_KEY = MetaData:Sourcetype
FORMAT = sourcetype::iis

Everything works in dev, but in prod, none of the index-time stuff (SEDCMD and TRANSFORMS-ToIisSourceType ) appears to be working. I have checked the splunkd.log but did not find any relevant message.

How can I further troubleshoot this issue? Which debug parameters can I enable to gather more information?

0 Karma

woodcock
Esteemed Legend

If it works in Dev then the only thing that could be wrong is that you have not put the files in the right place on your Indexers or that you have not restarted the Splunk instances on your Indexers. You did restart Splunk on your Indexers, right?

0 Karma

linu1988
Champion

Obvious, but are they placed in indexers?

0 Karma

landen99
Motivator

Is there a UF in here and which Splunk clients have your props settings?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...