<?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: Set sourcetype by source with props.conf not working in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16843#M359</link>
    <description>&lt;P&gt;The sourcetype &lt;EM&gt;might&lt;/EM&gt; be getting set elsewhere in a file/location that takes precedence.  If it were me, I'd:&lt;/P&gt;

&lt;P&gt;find /opt/splunk/etc -name "*.conf" -exec grep -l snort {} \;&lt;/P&gt;

&lt;P&gt;to look for possible candidates.&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jul 2010 04:58:46 GMT</pubDate>
    <dc:creator>broller25</dc:creator>
    <dc:date>2010-07-10T04:58:46Z</dc:date>
    <item>
      <title>Set sourcetype by source with props.conf not working</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16840#M356</link>
      <description>&lt;P&gt;I'm using a lightweight forwarder installed on Ubuntu to forward snort alerts to my main splunk server.&lt;/P&gt;

&lt;P&gt;On the main server my  C:\Program Files\Splunk\etc\system\local\props.conf contains this&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[source::/var/log/snort/alert.full]&lt;BR /&gt;
sourcetype = snort_alert_full
&lt;/CODE&gt; &lt;/P&gt;

&lt;P&gt;Why do all the snort alerts with source /var/log/snort/alert.full still have sourcetype 'snort' instead of 'snort_alert_full'.&lt;/P&gt;

&lt;P&gt;Note: I'm trying to get Splunk for Snort 4.x to work.  It requests all snort alerts with sourcetype 'snort_alert_full'.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2010 05:20:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16840#M356</guid>
      <dc:creator>meatago</dc:creator>
      <dc:date>2010-07-03T05:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set sourcetype by source with props.conf not working</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16841#M357</link>
      <description>&lt;P&gt;What is your configuration on the light forwarder?  I think in newer Splunk version (4.0+) sourcetype can be specified on the lightweight forwarder.  (Someone correct me if I'm wrong about this.....  this is why I gave up on lightweight forwarders.)&lt;/P&gt;

&lt;P&gt;Also, some of this may be helpful:  &lt;A href="http://answers.splunk.com/questions/4075/whats-the-best-way-to-track-down-props-conf-problems" rel="nofollow"&gt;What’s the best way to track down props.conf problems?&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;BTW, posting your inputs.conf and props.conf on the forwarder would be helpful.  (You can add it to your question using the "edit" link.)&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2010 06:00:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16841#M357</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-07-03T06:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set sourcetype by source with props.conf not working</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16842#M358</link>
      <description>&lt;P&gt;Sourcetype is set in the input phase, i.e., in this case on the LWF, not on the indexer.&lt;/P&gt;

&lt;P&gt;Please see: &lt;A href="http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings%3F" rel="nofollow"&gt;http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt; for more detail.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jul 2010 07:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16842#M358</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-07-03T07:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set sourcetype by source with props.conf not working</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16843#M359</link>
      <description>&lt;P&gt;The sourcetype &lt;EM&gt;might&lt;/EM&gt; be getting set elsewhere in a file/location that takes precedence.  If it were me, I'd:&lt;/P&gt;

&lt;P&gt;find /opt/splunk/etc -name "*.conf" -exec grep -l snort {} \;&lt;/P&gt;

&lt;P&gt;to look for possible candidates.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jul 2010 04:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16843#M359</guid>
      <dc:creator>broller25</dc:creator>
      <dc:date>2010-07-10T04:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set sourcetype by source with props.conf not working</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16844#M360</link>
      <description>&lt;P&gt;thanks this helped alot&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jul 2010 06:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16844#M360</guid>
      <dc:creator>meatago</dc:creator>
      <dc:date>2010-07-10T06:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set sourcetype by source with props.conf not working</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16845#M361</link>
      <description>&lt;P&gt;The Splunk for Snort app renames the sourcetype, so "snort_alert_fast" and "snort_alert_full" both become "snort". Check $SPLUNK_HOME/etc/apps/SplunkforSnort/props.conf for details.&lt;/P&gt;

&lt;P&gt;The reason why you can't just set the sourcetype to "snort" right away is that the format of the alert files (particularly full) requires Splunk to parse them a bit differently depending on whether you have fast or full. Once that initial parsing is done though, it's all just "snort" to Splunk. All field extractions etc in the app refer to the "snort" sourcetype, so if that's what you got it should all be working properly.&lt;/P&gt;

&lt;P&gt;I just uploaded a newer version of the app to Splunkbase that contains bugfixes and feature enhancements. Do let me know if you run into any problems as I've only been able to test the app on my own systems with my own logs - feedback is greatly appreciated!&lt;/P&gt;

&lt;P&gt;Kind regards,
Patrik&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2010 12:42:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16845#M361</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2010-08-09T12:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set sourcetype by source with props.conf not working</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16846#M362</link>
      <description>&lt;P&gt;Can anyone point me in the right direction, I just don't seem to be able to get any data to display in the snort app.&lt;/P&gt;

&lt;P&gt;I've configured /etc/rsyslog.d/50-default.conf to send all logs to my snort server (windows)&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;.&lt;/EM&gt;             @@x.x.x.x:514&lt;/P&gt;

&lt;P&gt;I've configured /etc/snort/snort.conf to output to /var/log/snort/alert.full &amp;amp; alert.fast&lt;/P&gt;

&lt;P&gt;output alert_syslog: LOG_AUTH LOG_ALERT
output alert_fast: alert.fast
output alert_full: alert.full&lt;/P&gt;

&lt;P&gt;I've opened the firewall on the Splunk server and tested connectivity to TCP 514, I already have other hosts sending event logs and syslog UDP 514 successfully.&lt;/P&gt;

&lt;P&gt;I've added a TCP data input source type snort port 514, restarted snort but nothing, the app remains blank.  What am I missing?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2010 17:41:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Set-sourcetype-by-source-with-props-conf-not-working/m-p/16846#M362</guid>
      <dc:creator>itboffin</dc:creator>
      <dc:date>2010-10-08T17:41:40Z</dc:date>
    </item>
  </channel>
</rss>

