<?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: how to route data from syslog servers to specific index?? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-route-data-from-syslog-servers-to-specific-index/m-p/329531#M61101</link>
    <description>&lt;P&gt;if i understood correctly&lt;BR /&gt;
related answer here:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/75939/split-syslog-udp-514-from-multi-hosts-to-multi-indexes.html"&gt;https://answers.splunk.com/answers/75939/split-syslog-udp-514-from-multi-hosts-to-multi-indexes.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2017 15:20:18 GMT</pubDate>
    <dc:creator>adonio</dc:creator>
    <dc:date>2017-06-07T15:20:18Z</dc:date>
    <item>
      <title>how to route data from syslog servers to specific index??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-route-data-from-syslog-servers-to-specific-index/m-p/329530#M61100</link>
      <description>&lt;P&gt;Hello all&lt;/P&gt;

&lt;P&gt;i have 3 syslog servers which are forwarding data on udp 7877 &lt;/P&gt;

&lt;P&gt;i want to route the data to different index. like &lt;BR /&gt;
syslog1 --&amp;gt; index1&lt;BR /&gt;
syslog2 --&amp;gt; index2&lt;BR /&gt;
syslog3 --&amp;gt; index3 &lt;/P&gt;

&lt;P&gt;here is my inputs.conf&lt;/P&gt;

&lt;P&gt;[udp://7877]&lt;BR /&gt;
connection_host = dns&lt;/P&gt;

&lt;P&gt;can any one help me ??&lt;/P&gt;

&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 15:15:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-route-data-from-syslog-servers-to-specific-index/m-p/329530#M61100</guid>
      <dc:creator>saifuddin9122</dc:creator>
      <dc:date>2017-06-07T15:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to route data from syslog servers to specific index??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-route-data-from-syslog-servers-to-specific-index/m-p/329531#M61101</link>
      <description>&lt;P&gt;if i understood correctly&lt;BR /&gt;
related answer here:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/75939/split-syslog-udp-514-from-multi-hosts-to-multi-indexes.html"&gt;https://answers.splunk.com/answers/75939/split-syslog-udp-514-from-multi-hosts-to-multi-indexes.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 15:20:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-route-data-from-syslog-servers-to-specific-index/m-p/329531#M61101</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-06-07T15:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to route data from syslog servers to specific index??</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-route-data-from-syslog-servers-to-specific-index/m-p/329532#M61102</link>
      <description>&lt;P&gt;The above answer from Adonio is good to rewrite the index for events at indextime using regexes, but if will have a parsing cost for each events.&lt;/P&gt;

&lt;P&gt;Another option, if you can split your inputs is to create one udp port input for each index destination.&lt;BR /&gt;
And have each syslog server send to a specific port.&lt;/P&gt;

&lt;P&gt;example :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[udp://7877]  
connection_host = dns
index=index1 
sourcetype=mysyslogsourcetype


[udp://7878]  
connection_host = dns
index=index2
sourcetype=mysyslogsourcetype

[udp://7879]  
connection_host = dns
index=index3
sourcetype=mysyslogsourcetype
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Jun 2017 19:42:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-route-data-from-syslog-servers-to-specific-index/m-p/329532#M61102</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2017-06-07T19:42:38Z</dc:date>
    </item>
  </channel>
</rss>

