I want to index only 404s and 500 errors from particular IIS log files. I have the following in props.conf.
[iis-6]
REPORT-AutoHeader = AutoHeader-5
TZ = UTC
TRANSFORMS-set= setnull,setparsing
in my transforms.conf i have.
[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue
[setparsing]
REGEX=(?m)sc_status=404
DEST_KEY = queue
FORMAT = indexQueue
It seems to get tripped up by the sc_status=404. If i just have REGEX=404 then it works, however, with a lot of other noise.
This configuration is running on a SplunkForwarder.
Thx.