<?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: Routing syslog streams to different index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Routing-syslog-streams-to-different-index/m-p/32217#M5715</link>
    <description>&lt;P&gt;Don't specify the server and you'll get the data from both. [udp://518]&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports#Add_a_network_input_using_inputs.conf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports#Add_a_network_input_using_inputs.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If &lt;REMOTE server=""&gt; is empty - [udp://port] - the port will accept data sent from any server.&lt;/REMOTE&gt;&lt;/P&gt;

&lt;P&gt;Then here to specify the sourcetype etc... &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Apr 2012 18:26:00 GMT</pubDate>
    <dc:creator>sdaniels</dc:creator>
    <dc:date>2012-04-20T18:26:00Z</dc:date>
    <item>
      <title>Routing syslog streams to different index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Routing-syslog-streams-to-different-index/m-p/32216#M5714</link>
      <description>&lt;P&gt;I have a stream (udp 518) of syslog coming in from two different syslog servers.  I thought that I would be able to specify in inputs.conf like so:&lt;/P&gt;

&lt;P&gt;[udp://server1:518]&lt;BR /&gt;
sourcetype = syslog&lt;BR /&gt;
index = index1&lt;BR /&gt;
connection_host = dns &lt;/P&gt;

&lt;P&gt;[udp://server2:518]&lt;BR /&gt;
sourcetype = syslog&lt;BR /&gt;
index = index2&lt;BR /&gt;
connection_host = dns &lt;/P&gt;

&lt;P&gt;This is not working.  If i comment out the second stanza, i can see syslog from server1 in index1, but nothing if both are uncommented.  Any thoughts?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 15:27:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Routing-syslog-streams-to-different-index/m-p/32216#M5714</guid>
      <dc:creator>menkurau</dc:creator>
      <dc:date>2012-04-20T15:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Routing syslog streams to different index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Routing-syslog-streams-to-different-index/m-p/32217#M5715</link>
      <description>&lt;P&gt;Don't specify the server and you'll get the data from both. [udp://518]&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports#Add_a_network_input_using_inputs.conf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports#Add_a_network_input_using_inputs.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If &lt;REMOTE server=""&gt; is empty - [udp://port] - the port will accept data sent from any server.&lt;/REMOTE&gt;&lt;/P&gt;

&lt;P&gt;Then here to specify the sourcetype etc... &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Advancedsourcetypeoverrides&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2012 18:26:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Routing-syslog-streams-to-different-index/m-p/32217#M5715</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-04-20T18:26:00Z</dc:date>
    </item>
  </channel>
</rss>

