<?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: Is my sourcetype override messing up my field extraction, or am I? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21278#M3481</link>
    <description>&lt;P&gt;I tried putting &lt;CODE&gt;REPORT-bsf = bsf_scan, bsf_send, bsf_recv&lt;/CODE&gt; in my &lt;CODE&gt;[source::udp:514]&lt;/CODE&gt;, but unfortunately I still didn't get my field extractions.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jun 2011 02:13:26 GMT</pubDate>
    <dc:creator>gpullis</dc:creator>
    <dc:date>2011-06-02T02:13:26Z</dc:date>
    <item>
      <title>Is my sourcetype override messing up my field extraction, or am I?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21275#M3478</link>
      <description>&lt;P&gt;My sourcetype override is working, but my field extractions are not.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::udp:514]
TRANSFORMS-changesourcetype = set_sourcetype_barracuda_sf

[barracuda_sf]
KV_MODE=none
REPORT-bsf = bsf_scan, bsf_send, bsf_recv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[set_sourcetype_barracuda_sf]
REGEX = :\d\d\s+(?:\d+\s+|(?:user|daemon|local.?)\.\w+\s+)*\[?(10.1.5.49|10.1.5.50)[\w\.\-]*\]?\s
FORMAT = sourcetype::barracuda_sf
DEST_KEY = MetaData:Sourcetype

[bsf_scan]
REGEX = (?:[^\s\n]*\s){5}([\w/]*)\[(\d*)\]:\s(.*\]|127.0.0.1)\s([\w\d-]*)\s(\d*)\s(\d*)\s(SCAN)\s(.*)
FORMAT = barracuda_process::$2  barracuda_pid::$3 client_ip::$4 message_id::$5 start_time::$6 end_time::$7 service::$8 info::$9

[bsf_send]
REGEX = (?:[^\s\n]*\s){5}([\w/]*)\[(\d*)\]:\s(.*\]|127.0.0.1)\s([\w\d-]*)\s(\d*)\s(\d*)\s(SCAN)\s(.*)
FORMAT = barracuda_process::$2  barracuda_pid::$3 client_ip::$4 message_id::$5 start_time::$6 end_time::$7 service::$8 info::$9

[bsf_recv]
REGEX = (?:[^\s\n]*\s){5}([\w/]*)\[(\d*)\]:\s(.*\]|127.0.0.1)\s([\w\d-]*)\s(\d*)\s(\d*)\s(SEND)\s(.*)
FORMAT = barracuda_process::$2  barracuda_pid::$3 client_ip::$4 message_id::$5 start_time::$6 end_time::$7 service::$8 info::$9
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jun 2011 01:15:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21275#M3478</guid>
      <dc:creator>gpullis</dc:creator>
      <dc:date>2011-06-02T01:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is my sourcetype override messing up my field extraction, or am I?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21276#M3479</link>
      <description>&lt;P&gt;I think you have been caught by way that stanzas in props.conf are processed; Splunk only makes one pass.  You probably shouldn't count on the transformed sourcetype to be available for use in the second stanza.&lt;/P&gt;

&lt;P&gt;But there is an easy cure for your problem.  You can eliminate the second stanza altogether, unless you already have some barracuda_sf events from some other input.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::udp:514]
TRANSFORMS-changesourcetype = set_sourcetype_barracuda_sf
KV_MODE=none
REPORT-bsf = bsf_scan, bsf_send, bsf_recv

[barracuda_sf]
KV_MODE=none
REPORT-bsf = bsf_scan, bsf_send, bsf_recv
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jun 2011 01:34:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21276#M3479</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2011-06-02T01:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is my sourcetype override messing up my field extraction, or am I?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21277#M3480</link>
      <description>&lt;P&gt;My concern would be that my REPORT and KV_MODE keywords would affect all of my syslog stuff.&lt;/P&gt;

&lt;P&gt;Maybe this is another example of why one shouldn't pump syslog directly into Splunk? &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 01:50:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21277#M3480</guid>
      <dc:creator>gpullis</dc:creator>
      <dc:date>2011-06-02T01:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is my sourcetype override messing up my field extraction, or am I?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21278#M3481</link>
      <description>&lt;P&gt;I tried putting &lt;CODE&gt;REPORT-bsf = bsf_scan, bsf_send, bsf_recv&lt;/CODE&gt; in my &lt;CODE&gt;[source::udp:514]&lt;/CODE&gt;, but unfortunately I still didn't get my field extractions.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 02:13:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21278#M3481</guid>
      <dc:creator>gpullis</dc:creator>
      <dc:date>2011-06-02T02:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is my sourcetype override messing up my field extraction, or am I?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21279#M3482</link>
      <description>&lt;P&gt;Here's another thing, isn't my sourcetype override happening at index time and my field extractions happening at search time?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 02:27:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21279#M3482</guid>
      <dc:creator>gpullis</dc:creator>
      <dc:date>2011-06-02T02:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is my sourcetype override messing up my field extraction, or am I?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21280#M3483</link>
      <description>&lt;P&gt;If you're going to pump syslog directly into Splunk, there is nothing at all wrong with defining multiple syslog ports on a per-sourcetype basis.  Use (for example) 5140 for barracuda, 5141 for VMWare ESXi, 5142 for Cisco ASA, etc ...&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 03:08:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21280#M3483</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2011-06-02T03:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is my sourcetype override messing up my field extraction, or am I?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21281#M3484</link>
      <description>&lt;P&gt;Are the extracts not working at all?&lt;BR /&gt;
I ran into some troubles as well with one big syslogfeed on udp so now i use a sysloghost with a forwarder (rolled files monitor) and push this as one sourcetype to the indexer (splunksyslog).&lt;BR /&gt;
There i use exact the same method as you are using ( making 8+ sourcetype overrides) and have dozens of fields extracts on those new ones.&lt;BR /&gt;
So I am not sure if this is working only for cooked data,,,my concern was the load ( 50G a day,so wanted a store and forward before parsing)&lt;BR /&gt;
I def. want to test your setup cause I have some planned deployments with this as well!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 05:49:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21281#M3484</guid>
      <dc:creator>Starlette</dc:creator>
      <dc:date>2011-06-02T05:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is my sourcetype override messing up my field extraction, or am I?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21282#M3485</link>
      <description>&lt;P&gt;Here's another thing, isn't my sourcetype override happening at index time and my field extractions happening at search time? :&lt;BR /&gt;
yeah thats what i think,,,btw why the KV_MODE=none setting&lt;BR /&gt;
??&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2011 05:57:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-sourcetype-override-messing-up-my-field-extraction-or-am-I/m-p/21282#M3485</guid>
      <dc:creator>Starlette</dc:creator>
      <dc:date>2011-06-02T05:57:14Z</dc:date>
    </item>
  </channel>
</rss>

