So I tried creating a props.conf file and re-inputting the data via the TCP connection, but it's still not parsing the IIS data apparently.
The first try was exactly as you suggested, with props.conf looking like:
[iis-stream]
FIELD_NAMES = date,time,s-ip,cs-method,cs-uri-stem,cs-uri-query,s-port,cs-username,c-ip,cs(User-Agent),sc-status,sc-substatus,sc-win32-status,time-taken
After running a search, here are the "Interesting Fields". Notice that the IIS-specific stuff is still missing:
Interesting Fields
# date_hour 2
# date_mday 1
# date_minute 2
a date_month 1
# date_second 2
a date_wday 1
# date_year 1
a date_zone 1
a index 1
# linecount 3
a punct 8
a splunk_server 1
# timeendpos 2
# timestartpos 2
I then various additions to props.conf, such as time format and time stamp fields, but that didn't work either. Eventually, I had the props.conf looking like this, mostly out of desperation (based on this reference: http://blogs.splunk.com/2013/10/18/iis-logs-and-splunk-6/):
[iis-stream]
FIELD_DELIMITER = whitespace
FIELD_HEADER_REGEX = ^#Fields:\\s*(.*)
MISSING_VALUE_REGEX = -
TIME_FORMAT = %Y-%m-%d %H:%M:%S
TZ = GMT
TIMESTAMP_FIELDS = date,time
And the resulting "Interesting Fields" were even worse...
Interesting Fields
a index 1
# linecount 3
a punct 7
a splunk_server 1
a timestamp 1
These are the Interesting Fields that I'm trying to get. (This is from when I import the data via the "Files & directories input.)
a c_ip 1
a cs_method 1
a cs_uri_stem 3
a cs_User_Agent 1
a date 2
# date_hour 1
# date_mday 2
# date_minute 3
a date_month 1
# date_second 7
a date_wday 2
# date_year 1
# date_zone 1
a index 1
# linecount 1
a punct 3
a s_ip 1
# s_port 1
# sc_status 4
# sc_substatus 2
# sc_win32_status 2
a splunk_server 1
a time 7
# time_taken 6
So, it looks like I still don't have the right configuration in place for Splunk to recognize the IIS data coming across the TCP connection. Hmm...
... View more