<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk lightforwarder to Index/Search server using custom sourcetype settings in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52490#M10109</link>
    <description>&lt;P&gt;learned/local/props.conf contains the following (which I would love to prevent):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iis_wms_short-2]
KV_MODE = none
MAX_TIMESTAMP_LOOKAHEAD = 32
REPORT-AutoHeader = AutoHeader-1
REPORT-wmsfields = iis-wms-fields-short
SHOULD_LINEMERGE = False
given_type = iis_wms_short
pulldown_type = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 02 Mar 2011 23:40:26 GMT</pubDate>
    <dc:creator>cvImplex</dc:creator>
    <dc:date>2011-03-02T23:40:26Z</dc:date>
    <item>
      <title>Splunk lightforwarder to Index/Search server using custom sourcetype settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52487#M10106</link>
      <description>&lt;P&gt;My lightforwarders are working and sending event information to my index/search server but the customer sourcetypes I have created are not parsing the log information.  All lightforwarders (2 separate lightforwarders)  are standard out-of-the-box configuration with a input data file/directory monitor added and manually set to the sourcetype below.  The index/search server is a free trial license out-of-the-box full install with a receiving port setup for the forwarders.  I have performed the following setups:&lt;/P&gt;

&lt;P&gt;1)  Both the lightforwarders and the index server have the changes to the props.conf and transforms.conf files.  The data is marked with the correct sourcetype name when I search for it, but the fields are not parsed.&lt;/P&gt;

&lt;P&gt;2)  the lightforwarders don't have any changes to the props.conf or transforms.conf files.  The index server has the changes to the props.conf and transform.conf files.  I have the same result as #1.&lt;/P&gt;

&lt;P&gt;I have searched thru the documentation and the answers forum and can't seem to find a simple answer other than this &lt;A href="http://answers.splunk.com/questions/906/where-is-the-best-place-for-props-conf-and-transforms-conf" rel="nofollow"&gt;http://answers.splunk.com/questions/906/where-is-the-best-place-for-props-conf-and-transforms-conf&lt;/A&gt;, which is how I setup the servers in #2.  &lt;/P&gt;

&lt;P&gt;Any help would be appreciated.&lt;/P&gt;

&lt;P&gt;Here are the changes I made to props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iis_wms]
pulldown_type = true 
MAX_TIMESTAMP_LOOKAHEAD = 32
SHOULD_LINEMERGE = False
CHECK_FOR_HEADER = True
REPORT-wmsfields = iis-wms-fields
TIME_FORMAT = %Y-%m-%d %H:%M:%S

[iis_wms_short]
pulldown_type = true 
MAX_TIMESTAMP_LOOKAHEAD = 32
SHOULD_LINEMERGE = False
CHECK_FOR_HEADER = True
REPORT-wmsfields = iis-wms-fields-short
TIME_FORMAT = %Y-%m-%d %H:%M:%S

[wowza]
pulldown_type = true 
MAX_TIMESTAMP_LOOKAHEAD = 32
CHECK_FOR_HEADER = True
REPORT-wmsfields = wowza-fields
TIME_FORMAT = %Y-%m-%d %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here are the changes to the transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iis-wms-fields]
DELIMS = " "
FIELDS = "c-ip","date","time","c-dns","cs-uri-stem","c-starttime","x-duration","c-rate","c-status","c-playerid","c-playerversion","c-playerlanguage","cs(User-Agent)","cs(Referer)","c-hostexe","c-hostexever","c-os","c-osversion","c-cpu","filelength","filesize","avgbandwidth","protocol","transport","audiocodec","videocodec","channelURL","sc-bytes","c-bytes","s-pkts-sent","c-pkts-received","c-pkts-lost-client","c-pkts-lost-net","c-pkts-lost-cont-net","c-resendreqs","c-pkts-recovered-ECC","c-pkts-recovered-resent","c-buffercount","c-totalbuffertime","c-quality","s-ip","s-dns","s-totalclients","s-cpu-util","cs-user-name","s-session-id","s-content-path","cs-url","cs-media-name","c-max-bandwidth","cs-media-role","s-proxied"

[iis-wms-fields-short]
DELIMS = " "
FIELDS = "c-ip","date","time","c-dns","cs-uri-stem","c-starttime","x-duration","c-rate","c-status","c-playerid","c-playerversion","c-playerlanguage","cs(User-Agent)","cs(Referer)","c-hostexe","c-hostexever","c-os","c-osversion","c-cpu","filelength","filesize","avgbandwidth","protocol","transport","audiocodec","videocodec","channelURL","sc-bytes","c-bytes","s-pkts-sent","c-pkts-received","c-pkts-lost-client","c-pkts-lost-net","c-pkts-lost-cont-net","c-resendreqs","c-pkts-recovered-ECC","c-pkts-recovered-resent","c-buffercount","c-totalbuffertime","c-quality","s-ip","s-dns","s-totalclients","s-cpu-util"

[wowza-fields]
DELIMS = " "
FIELDS = "date","time","tz","x-event","x-category","x-severity","x-status","x-ctx","x-comment","x-vhost","x-app","x-appinst","x-duration","s-ip","s-port","s-uri","c-ip","c-proto","c-referrer","c-user-agent","c-client-id","cs-bytes","sc-bytes","x-stream-id","x-spos","cs-stream-bytes","sc-stream-bytes","x-sname","x-sname-query","x-file-name","x-file-ext","x-file-size","x-file-length","x-suri","x-suri-stem","x-suri-query","cs-uri-stem","cs-uri-query"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Example of log file I am parsing:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#Software: Windows Media Services
#Version: 4.1
#Date: 2011-03-01 06:00:01
#Fields: c-ip date time c-dns cs-uri-stem c-starttime x-duration c-rate c-status c-playerid c-playerversion c-playerlanguage cs(User-Agent) cs(Referer) c-hostexe c-hostexever c-os c-osversion c-cpu filelength filesize avgbandwidth protocol transport audiocodec videocodec channelURL sc-bytes c-bytes s-pkts-sent c-pkts-received c-pkts-lost-client c-pkts-lost-net c-pkts-lost-cont-net c-resendreqs c-pkts-recovered-ECC c-pkts-recovered-resent c-buffercount c-totalbuffertime c-quality s-ip s-dns s-totalclients s-cpu-util
100.100.100.10 2011-03-01 06:00:43 - - - 0 1 400 - - - - - - - - - - - - - http TCP - - - 0 - 0 - - - - - - - - - - 100.100.100.10  computerhostname 1 14 
100.100.100.10 2011-03-01 06:01:44 - - - 0 1 400 - - - - - - - - - - - - - http TCP - - - 0 - 0 - - - - - - - - - - 100.100.100.10  computerhostname 1 15 
71.177.164.232 2011-03-01 06:13:46 - &lt;A href="http://computerhostname/directory/video.wmv" target="test_blank"&gt;http://computerhostname/directory/video.wmv&lt;/A&gt; 0 14 1 200 {3300AD50-2C39-46c0-AE0A-8D637E18BC07} 11.0.5721.5275 en-US WMFSDK/11.0.5721.5275_WMPlayer/11.0.5721.5268 - wmplayer.exe 11.0.5721.5145 Windows_XP 5.1.0.2600 Pentium 1437 38642962 213517 http TCP Windows_Media_Audio_9 Windows_Media_Video_V7 - 486022 483120 335 333 0 0 0 0 0 0 1 5 100 100.100.100.10  computerhostname 1 14 
71.177.164.232 2011-03-01 06:15:51 - &lt;A href="http://computerhostname/directory/video.wmv" target="test_blank"&gt;http://computerhostname/directory/video.wmv&lt;/A&gt; 1304 124 1 200 {3300AD50-2C39-46c0-AE0A-8D637E18BC07} 11.0.5721.5275 en-US WMFSDK/11.0.5721.5275_WMPlayer/11.0.5721.5268 - wmplayer.exe 11.0.5721.5145 Windows_XP 5.1.0.2600 Pentium 1437 38642962 216687 http TCP Windows_Media_Audio_9 Windows_Media_Video_V7 - 3362650 3362650 2318 2318 0 0 0 0 0 0 1 5 100 100.100.100.10  computerhostname 1 15 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My forwarder inputs.conf file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = godzilla

[script://$SPLUNK_HOME\bin\scripts\splunk-regmon.path]
disabled = 1

[script://$SPLUNK_HOME\bin\scripts\splunk-admon.path]
disabled = 1

[script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]
disabled = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/etc/apps/learned/local/props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iis_wms_short-2]
KV_MODE = none
MAX_TIMESTAMP_LOOKAHEAD = 32
REPORT-AutoHeader = AutoHeader-1
REPORT-wmsfields = iis-wms-fields-short
SHOULD_LINEMERGE = False
given_type = iis_wms_short
pulldown_type = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Mar 2011 07:18:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52487#M10106</guid>
      <dc:creator>cvImplex</dc:creator>
      <dc:date>2011-03-02T07:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk lightforwarder to Index/Search server using custom sourcetype settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52488#M10107</link>
      <description>&lt;P&gt;What does the inputs.conf stanza on your forwarder look like?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2011 07:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52488#M10107</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-03-02T07:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk lightforwarder to Index/Search server using custom sourcetype settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52489#M10108</link>
      <description>&lt;P&gt;Also, do you have anything in $SPLUNK_HOME/etc/apps/learned/local/props.conf? Anything with the names of those sourcetypes, in particular?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2011 07:59:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52489#M10108</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-03-02T07:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk lightforwarder to Index/Search server using custom sourcetype settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52490#M10109</link>
      <description>&lt;P&gt;learned/local/props.conf contains the following (which I would love to prevent):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iis_wms_short-2]
KV_MODE = none
MAX_TIMESTAMP_LOOKAHEAD = 32
REPORT-AutoHeader = AutoHeader-1
REPORT-wmsfields = iis-wms-fields-short
SHOULD_LINEMERGE = False
given_type = iis_wms_short
pulldown_type = true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Mar 2011 23:40:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52490#M10109</guid>
      <dc:creator>cvImplex</dc:creator>
      <dc:date>2011-03-02T23:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk lightforwarder to Index/Search server using custom sourcetype settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52491#M10110</link>
      <description>&lt;P&gt;Answer to my question:&lt;/P&gt;

&lt;P&gt;1)  Removed the "CHECK_FOR_HEADER" in props.conf because it was causing duplicate sourcetypes in the learned/local/props.conf file.&lt;/P&gt;

&lt;P&gt;2)  Each lightforwarder and index/search needs the same props.conf and transforms.conf files in the system/local folder.&lt;/P&gt;

&lt;P&gt;3)  Installed the windows app into my receiver which is linux.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2011 05:11:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52491#M10110</guid>
      <dc:creator>cvImplex</dc:creator>
      <dc:date>2011-03-04T05:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk lightforwarder to Index/Search server using custom sourcetype settings</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52492#M10111</link>
      <description>&lt;P&gt;I just would like to point out that the use of the "-" (hyphen) on stanza names on the transforms.conf  may cause some issues, like ignoring the transform: &lt;/P&gt;

&lt;P&gt;[wowza-fields]&lt;BR /&gt;
DELIMS = " "&lt;BR /&gt;
FIELDS = "date","time","tz","x-event","x-category","x-severity","x-status","x-ctx","x-comment",...&lt;/P&gt;

&lt;P&gt;Rather than that use underscore (Ex: "[wowza_fields]") and save lots of time : ) &lt;BR /&gt;
In my experience SPLUNK ignored the stanza defined on transforms.conf and the fields were not seen on the "field discovery" panel. Hope this helps!&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2012 04:18:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-lightforwarder-to-Index-Search-server-using-custom/m-p/52492#M10111</guid>
      <dc:creator>bpravisa</dc:creator>
      <dc:date>2012-09-29T04:18:52Z</dc:date>
    </item>
  </channel>
</rss>

