<?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: Transform for sourcetype issue in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113100#M29710</link>
    <description>&lt;P&gt;2 thoughts depending on how your environment is setup. Out of curiosity have you restarted your indexer(s) after making your change or the one proposed to somesoni2? If that data is being handled by a heavy forwarder the props/transforms will need to be pushed to it.&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2015 11:09:43 GMT</pubDate>
    <dc:creator>Runals</dc:creator>
    <dc:date>2015-05-19T11:09:43Z</dc:date>
    <item>
      <title>Transform for sourcetype issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113098#M29708</link>
      <description>&lt;P&gt;I am trying to make a minor update to take some data that is coming in via syslog and change the sourcetype to infoblox_dns and the move it to the network index but having issues getting splunk to recognize it.  What am I doing wrong!?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;transforms.conf:

[mc_force_sourcetype_for_infoblox_dns]
REGEX = (\d+\.\d+\.\d+\.\d+\s(named|dhcpd|lbsyncd|lbsync_f5)|\[\d+\]\:|\d+\.\d+\.\d+\.\d+\s(lbsync_f5|Available\sLeases|Total\sAddresses|Active\sLeases|Current\sUsage|High\sReset\sMark|High\sTrigger\sMark|Low\sReset\sMark|Low\sTrigger\sMark|Range|Network|Member|kernel|serial_console|/infoblox/one/bin/rotate_syslog)\:)
DEST_KEY = MetaData:Sourcetype
FORMAT = sourcetype::infoblox_dns

[mc_force_index_for_infoblox_dns]
SOURCE_KEY = MetaData:Sourcetype
REGEX = (infoblox_dns)
DEST_KEY = _MetaData:Index
FORMAT = network

Props.conf:
[syslog]
TIME_FORMAT = %b %d %H:%M:%S
TIME_PREFIX = ^
SHOULD_LINEMERGE = false
TRUNCATE = 1000000
KV_MODE = none
ANNOTATE_PUNCT = false
LINE_BREAKER = ([\n\r]+)

TRANSFORMS-2_syslog_sourcetypes = mc_force_sourcetype_for_infoblox_dns
TRANSFORMS-3_syslog_index = mc_force_index_for_infoblox_dns

[splunk@host ~]$ splunk cmd btool transforms list --debug | grep infoblox | less

/opt/splunk/etc/slave-apps/mc_all_syslog_props/local/transforms.conf          [mc_force_index_for_infoblox_dns]
/opt/splunk/etc/slave-apps/mc_all_syslog_props/local/transforms.conf          REGEX = (infoblox_dns)
/opt/splunk/etc/slave-apps/mc_all_syslog_props/local/transforms.conf          [mc_force_sourcetype_for_infoblox_dns]
/opt/splunk/etc/slave-apps/mc_all_syslog_props/local/transforms.conf          FORMAT = sourcetype::infoblox_dns
/opt/splunk/etc/slave-apps/mc_all_syslog_props/local/transforms.conf          REGEX = (\d+\.\d+\.\d+\.\d+\s(named|dhcpd|lbsyncd|lbsync_f5)|\[\d+\]\:|\d+\.\d+\.\d+\.\d+\s(lbsync_f5|Available\sLeases|Total\sAddresses|Active\sLeases|Current\sUsage|High\sReset\sMark|High\sTrigger\sMark|Low\sReset\sMark|Low\sTrigger\sMark|Range|Network|Member|kernel|serial_console|/infoblox/one/bin/rotate_syslog)\:)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 May 2015 20:10:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113098#M29708</guid>
      <dc:creator>LiquidTension</dc:creator>
      <dc:date>2015-05-18T20:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Transform for sourcetype issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113099#M29709</link>
      <description>&lt;P&gt;Try this in your transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [mc_force_sourcetype_for_infoblox_dns]
 REGEX = (\d+\.\d+\.\d+\.\d+\s(named|dhcpd|lbsyncd|lbsync_f5)|\[\d+\]\:|\d+\.\d+\.\d+\.\d+\s(lbsync_f5|Available\sLeases|Total\sAddresses|Active\sLeases|Current\sUsage|High\sReset\sMark|High\sTrigger\sMark|Low\sReset\sMark|Low\sTrigger\sMark|Range|Network|Member|kernel|serial_console|/infoblox/one/bin/rotate_syslog)\:)
 DEST_KEY = MetaData:Sourcetype
 FORMAT = sourcetype::infoblox_dns

 [mc_force_index_for_infoblox_dns]
REGEX = (\d+\.\d+\.\d+\.\d+\s(named|dhcpd|lbsyncd|lbsync_f5)|\[\d+\]\:|\d+\.\d+\.\d+\.\d+\s(lbsync_f5|Available\sLeases|Total\sAddresses|Active\sLeases|Current\sUsage|High\sReset\sMark|High\sTrigger\sMark|Low\sReset\sMark|Low\sTrigger\sMark|Range|Network|Member|kernel|serial_console|/infoblox/one/bin/rotate_syslog)\:)
 DEST_KEY = _MetaData:Index
 FORMAT = network
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 May 2015 21:14:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113099#M29709</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-05-18T21:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Transform for sourcetype issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113100#M29710</link>
      <description>&lt;P&gt;2 thoughts depending on how your environment is setup. Out of curiosity have you restarted your indexer(s) after making your change or the one proposed to somesoni2? If that data is being handled by a heavy forwarder the props/transforms will need to be pushed to it.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 11:09:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113100#M29710</guid>
      <dc:creator>Runals</dc:creator>
      <dc:date>2015-05-19T11:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Transform for sourcetype issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113101#M29711</link>
      <description>&lt;P&gt;I did issue a rolling restart command after pushing the change via the cluster master and that did not resolve the problem.  I will give somesoni2's suggest a shot here later today.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 15:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113101#M29711</guid>
      <dc:creator>LiquidTension</dc:creator>
      <dc:date>2015-05-19T15:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Transform for sourcetype issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113102#M29712</link>
      <description>&lt;P&gt;This unfortunately did not work either after making the change and restarting the indexers.  The data is still coming in&lt;BR /&gt;&lt;BR /&gt;
index=main, sourcetype=syslog&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2015 18:54:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113102#M29712</guid>
      <dc:creator>LiquidTension</dc:creator>
      <dc:date>2015-05-19T18:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Transform for sourcetype issue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113103#M29713</link>
      <description>&lt;P&gt;Any other ideas or something standing out that I am doing wrong? &lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2015 13:52:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transform-for-sourcetype-issue/m-p/113103#M29713</guid>
      <dc:creator>LiquidTension</dc:creator>
      <dc:date>2015-05-26T13:52:03Z</dc:date>
    </item>
  </channel>
</rss>

