<?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 Help with syslog tranforms/props in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317806#M93102</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've inherited a splunk environment where the syslog needs a fair amount of clean-up.  The incoming syslog messages are all types - servers, appliances,  routers, switches....   Where possible, I route them using syslog-ng, and then do standard splunk processing.  For anything that isn't caught, we route it to an "unknown" index, and I was thinking of adding props/transforms for some of these, so that I don't need to keep adding individual entries in syslog-ng.  &lt;/P&gt;

&lt;P&gt;Is there a way to add a props/transforms to look for standard cisco ios entries and routing them?  The regex is "%[A-Z_]+-[0-9]-[A-Z_]+:".&lt;BR /&gt;&lt;BR /&gt;
I'm not sure how to add that to a transforms and route it.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 18:54:50 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2020-09-29T18:54:50Z</dc:date>
    <item>
      <title>Help with syslog tranforms/props</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317806#M93102</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I've inherited a splunk environment where the syslog needs a fair amount of clean-up.  The incoming syslog messages are all types - servers, appliances,  routers, switches....   Where possible, I route them using syslog-ng, and then do standard splunk processing.  For anything that isn't caught, we route it to an "unknown" index, and I was thinking of adding props/transforms for some of these, so that I don't need to keep adding individual entries in syslog-ng.  &lt;/P&gt;

&lt;P&gt;Is there a way to add a props/transforms to look for standard cisco ios entries and routing them?  The regex is "%[A-Z_]+-[0-9]-[A-Z_]+:".&lt;BR /&gt;&lt;BR /&gt;
I'm not sure how to add that to a transforms and route it.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:54:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317806#M93102</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2020-09-29T18:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syslog tranforms/props</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317807#M93103</link>
      <description>&lt;P&gt;Take a look at &lt;A href="https://answers.splunk.com/answers/246672/how-can-i-override-an-index-name-based-on-sourcety.html"&gt;this answer&lt;/A&gt; and see if it gets you started.&lt;/P&gt;

&lt;P&gt;You can find applicable documentation &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.3/Indexer/Setupmultipleindexes#Route_specific_events_to_a_different_index"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 18:43:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317807#M93103</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2018-04-09T18:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syslog tranforms/props</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317808#M93104</link>
      <description>&lt;P&gt;Thanks.  I understand the concept of transforms, just need help with the regex.  Can that actual regex be placed in the transforms?  &lt;/P&gt;

&lt;P&gt;REGEX = %[A-Z_]+-[0-9]-[A-Z_]+:  &lt;/P&gt;

&lt;P&gt;What happens if it doesn't  meet the regex extraction?  &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:54:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317808#M93104</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2020-09-29T18:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syslog tranforms/props</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317809#M93105</link>
      <description>&lt;P&gt;Yes, the REGEX key is there for you to specify the RegEx you want to apply.&lt;BR /&gt;
If the RegEx match fails, the original index configured for the sourcetype will take effect. If you don't have an index predefined, the default index will be used. Unless you changed it, that's the &lt;STRONG&gt;main&lt;/STRONG&gt; index.&lt;/P&gt;

&lt;P&gt;If you are asking about the correct RegEx to identify standard Cisco log events, I'm afraid I can't help you. Maybe you can find some gems in any of the &lt;A href="https://splunkbase.splunk.com/apps/#/search/Cisco/"&gt;available TAs for Cisco products&lt;/A&gt;. &lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 19:00:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317809#M93105</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2018-04-09T19:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syslog tranforms/props</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317810#M93106</link>
      <description>&lt;P&gt;Also, being aware of the &lt;CODE&gt;lastChanceIndex&lt;/CODE&gt; could end up being strategic for your approach here. See it in &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Indexesconf&lt;/A&gt;. You may find it helps you capture events for which you've yet to define an index or transforms stanza.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 12:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317810#M93106</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2018-04-27T12:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with syslog tranforms/props</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317811#M93107</link>
      <description>&lt;P&gt;Cross reference to related question (I think): &lt;A href="https://answers.splunk.com/answers/638013/help-with-setting-index-and-sourcetype-via-transfo.html"&gt;https://answers.splunk.com/answers/638013/help-with-setting-index-and-sourcetype-via-transfo.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 12:15:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-syslog-tranforms-props/m-p/317811#M93107</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2018-04-27T12:15:49Z</dc:date>
    </item>
  </channel>
</rss>

