Trying to dump off what seems like a simple thing to do from raw iis logs.
just want to not allow this to index: cs_uri_stem = /CLBOnline/AppOnline
my props.conf is
[iis]
TRANSFORMS-set = setnull1
my transforms.conf is
[setnull1]
REGEX=\/CLBOnline\/AppOnline
DEST_KEY = queue
FORMAT = nullQueue
I'm running Splunk 6.1
Update apparently in Splunk v6 we can now transform IIS, & csv logs on the Universal Forwarder! News to me. Next hurtle (for me) was getting it to work on the UF, as it would work fine in the etc\system\local (not possible I think from a deployment server) but wouldn't work in the app directory. My SE pointed out the fact that I needed to basically declare in the app metadata directory add to the default.meta:
[props]
export = system
[transforms]
export = system
I've learned something new, and hope others figured this out faster than I!!!! Regardless it's documented now.
Thanks Jeff
Update apparently in Splunk v6 we can now transform IIS, & csv logs on the Universal Forwarder! News to me. Next hurtle (for me) was getting it to work on the UF, as it would work fine in the etc\system\local (not possible I think from a deployment server) but wouldn't work in the app directory. My SE pointed out the fact that I needed to basically declare in the app metadata directory add to the default.meta:
[props]
export = system
[transforms]
export = system
I've learned something new, and hope others figured this out faster than I!!!! Regardless it's documented now.
Thanks Jeff
Can you confirm that your sourcetype is correctly set to iis? I had this problem and found it was being set to iis-2.
ya I figured that out martin, thanks regex is still stumping me....
Maybe that's my issue, I'm pumping these IIS logs into an iis index, when I search index=iis the sourcetype of iis comes back, but when I search sourcetype=iis I get nothing?????
That's likely due to the iis index not being listed in your user's role's "indexes searched by default", so when not specifying an index in the search it probably just looks in the main index.