<?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: Props transforms.conf for source thats not playing nice in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128838#M26445</link>
    <description>&lt;P&gt;Why are you not explicitly setting your &lt;CODE&gt;sourcetype&lt;/CODE&gt; in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; (I highly recommend adding one)?  Once you set a sourcetype, you can use that sourcetype for your stanza header inside &lt;CODE&gt;props.conf&lt;/CODE&gt;.  What kind of forwarder are you using (is it a Heavy Forwarder)?  If not using a Heavy Forwarder, you need to deploy these changes to ALL of your indexers and the restart all Splunk instances before the changes will take effect.   If using Heavy Forwarder, check out this link:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/8531/routing-to-index-based-on-host-etc.html"&gt;http://answers.splunk.com/answers/8531/routing-to-index-based-on-host-etc.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Jul 2015 15:00:50 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-07-18T15:00:50Z</dc:date>
    <item>
      <title>Props transforms.conf for source thats not playing nice</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128837#M26444</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have been having significant trouble with one set of props/transforms for our environment.  I have tried numerous things that I will detail below to no avail.  The end result is that I want to move a specific type of event to an index.  Sounds simple and I have done it for many others but this one is just plain out simple not working.&lt;/P&gt;

&lt;P&gt;So here are the config files.&lt;BR /&gt;
props.conf&lt;BR /&gt;
[source::syslogind]&lt;BR /&gt;
TRANSFORMS-SetIndexSourcetype = set_index_random&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[set_index_random]&lt;BR /&gt;
REGEX = [A-Z]{1}[a-z]{2}\s+\d+\s+\d{2}:\d{2}:\d{2}.*SpecificText&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;
FORMAT = anotherindex&lt;/P&gt;

&lt;P&gt;In my inputs.conf I have the following&lt;/P&gt;

&lt;P&gt;[udp://514]&lt;BR /&gt;
connection_host = dns&lt;BR /&gt;
compressed = true&lt;BR /&gt;
source = syslogind&lt;/P&gt;

&lt;P&gt;Now this is what I have tried.&lt;/P&gt;

&lt;P&gt;In props.conf I have had the following settings&lt;BR /&gt;
[udp:514]&lt;BR /&gt;
[source::udp:514]&lt;BR /&gt;
[source::(udp:514)]&lt;/P&gt;

&lt;P&gt;But still my data is being pushed into main bucket with the source and sourcetype of udp:514.  &lt;/P&gt;

&lt;P&gt;Splunk  Output source = udp:514   sourcetype = udp:514 &lt;/P&gt;

&lt;P&gt;I have confirmed the regex is working within splunk using extract fields then seeing if all are ticked.&lt;/P&gt;

&lt;P&gt;I am a little stumped for ideas.  My last effort was to change the source on the inputs.conf to something random then apply the transforms on that.  But that didn't work.  Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128837#M26444</guid>
      <dc:creator>domenico_perre</dc:creator>
      <dc:date>2020-09-29T06:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Props transforms.conf for source thats not playing nice</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128838#M26445</link>
      <description>&lt;P&gt;Why are you not explicitly setting your &lt;CODE&gt;sourcetype&lt;/CODE&gt; in &lt;CODE&gt;inputs.conf&lt;/CODE&gt; (I highly recommend adding one)?  Once you set a sourcetype, you can use that sourcetype for your stanza header inside &lt;CODE&gt;props.conf&lt;/CODE&gt;.  What kind of forwarder are you using (is it a Heavy Forwarder)?  If not using a Heavy Forwarder, you need to deploy these changes to ALL of your indexers and the restart all Splunk instances before the changes will take effect.   If using Heavy Forwarder, check out this link:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/8531/routing-to-index-based-on-host-etc.html"&gt;http://answers.splunk.com/answers/8531/routing-to-index-based-on-host-etc.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jul 2015 15:00:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128838#M26445</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-18T15:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Props transforms.conf for source thats not playing nice</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128839#M26446</link>
      <description>&lt;P&gt;Hey woodcock I am doing an inputs.conf to a source because I don't want to specify a specific sourcetype as I have a range of different inputs coming in on this port. This is coming direct to the indexers. I do have heavy forwarders though. &lt;/P&gt;</description>
      <pubDate>Sun, 19 Jul 2015 07:22:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128839#M26446</guid>
      <dc:creator>domenico_perre</dc:creator>
      <dc:date>2015-07-19T07:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Props transforms.conf for source thats not playing nice</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128840#M26447</link>
      <description>&lt;P&gt;I should also add that the logs are being sent from a client that is not a universal forwarder. Otherwise I could apply the source at the outputs.conf.&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jul 2015 07:24:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128840#M26447</guid>
      <dc:creator>domenico_perre</dc:creator>
      <dc:date>2015-07-19T07:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Props transforms.conf for source thats not playing nice</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128841#M26448</link>
      <description>&lt;P&gt;I am marking your answer as correct woodcock as I checked this morning when I arrived as I was sure that the logs were going direct to the indexer.  But they are in fact going to  a heavy forwarder first.  I updated the heavy forwarder props.conf and transforms.conf and it is now working.  Thankyou so much :).  I thought I was going crazy!!&lt;/P&gt;</description>
      <pubDate>Sun, 19 Jul 2015 21:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Props-transforms-conf-for-source-thats-not-playing-nice/m-p/128841#M26448</guid>
      <dc:creator>domenico_perre</dc:creator>
      <dc:date>2015-07-19T21:48:36Z</dc:date>
    </item>
  </channel>
</rss>

