<?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: UDP syslog seprate index for specific hosts in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/UDP-syslog-seprate-index-for-specific-hosts/m-p/54174#M10469</link>
    <description>&lt;P&gt;I've got something similar working where I'm sending specific type syslog msg to a separate index.  In my case I'm specifying [syslog] in my props.conf and then doing a regex match for the msg I want in the transforms.conf.&lt;/P&gt;

&lt;P&gt;If you're only sending syslog msgs from the host you want, you can probably filter on the host itself to send all msgs to the separate index.  Something like the below (I haven't tested this btw)&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;&lt;BR /&gt;
[host::somehost]&lt;BR /&gt;&lt;BR /&gt;
TRANSFORMS-syslog-somehost=SYSLOGSOMEHOST&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;&lt;BR /&gt;
[SYSLOGSOMEHOST]&lt;BR /&gt;&lt;BR /&gt;
REGEX =(.*)&lt;BR /&gt;&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;&lt;BR /&gt;
FORMAT = YOURINDEX&lt;BR /&gt;&lt;BR /&gt;
WRITE_META = true&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2011 19:37:07 GMT</pubDate>
    <dc:creator>briang67</dc:creator>
    <dc:date>2011-05-02T19:37:07Z</dc:date>
    <item>
      <title>UDP syslog seprate index for specific hosts</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/UDP-syslog-seprate-index-for-specific-hosts/m-p/54173#M10468</link>
      <description>&lt;P&gt;Hey Guys,&lt;/P&gt;

&lt;P&gt;I have multiple host in my network using UDP:514 syslog to main index in splunk but now i want to create separate "production" index for critical server. so how should i divert syslog traffic to new index ? I read on google people talking about props.conf but how it will work ?  &lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2011 02:20:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/UDP-syslog-seprate-index-for-specific-hosts/m-p/54173#M10468</guid>
      <dc:creator>satishp</dc:creator>
      <dc:date>2011-03-05T02:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: UDP syslog seprate index for specific hosts</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/UDP-syslog-seprate-index-for-specific-hosts/m-p/54174#M10469</link>
      <description>&lt;P&gt;I've got something similar working where I'm sending specific type syslog msg to a separate index.  In my case I'm specifying [syslog] in my props.conf and then doing a regex match for the msg I want in the transforms.conf.&lt;/P&gt;

&lt;P&gt;If you're only sending syslog msgs from the host you want, you can probably filter on the host itself to send all msgs to the separate index.  Something like the below (I haven't tested this btw)&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;&lt;BR /&gt;
[host::somehost]&lt;BR /&gt;&lt;BR /&gt;
TRANSFORMS-syslog-somehost=SYSLOGSOMEHOST&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;&lt;BR /&gt;
[SYSLOGSOMEHOST]&lt;BR /&gt;&lt;BR /&gt;
REGEX =(.*)&lt;BR /&gt;&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;&lt;BR /&gt;
FORMAT = YOURINDEX&lt;BR /&gt;&lt;BR /&gt;
WRITE_META = true&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2011 19:37:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/UDP-syslog-seprate-index-for-specific-hosts/m-p/54174#M10469</guid>
      <dc:creator>briang67</dc:creator>
      <dc:date>2011-05-02T19:37:07Z</dc:date>
    </item>
  </channel>
</rss>

