<?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: Syslog from switch to indexer in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350118#M64263</link>
    <description>&lt;P&gt;I found the solution:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Port forwarding was not enabled for the interface. &lt;A href="https://serverfault.com/questions/140622/how-can-i-port-forward-with-iptables"&gt;1&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;The NAT-Rule was not saved. &lt;A href="https://serverfault.com/questions/220586/howto-configure-opensuse-firewall-to-route-local-traffic-to-local-ports"&gt;2&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Tue, 24 Apr 2018 08:11:15 GMT</pubDate>
    <dc:creator>chrisitanmoleck</dc:creator>
    <dc:date>2018-04-24T08:11:15Z</dc:date>
    <item>
      <title>Syslog from switch to indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350113#M64258</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;we want to send syslog from cisco switches directly to the splunk indexer.&lt;BR /&gt;
So I made a NAT from UDP 514 to 5447 and a new UPD data input (for 5447).&lt;/P&gt;

&lt;P&gt;Is it also neccessary to define these data at the inputs.conf of the indexer?&lt;/P&gt;

&lt;P&gt;Best Regards&lt;BR /&gt;
Christian&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 07:04:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350113#M64258</guid>
      <dc:creator>chrisitanmoleck</dc:creator>
      <dc:date>2018-04-19T07:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog from switch to indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350114#M64259</link>
      <description>&lt;P&gt;You can refer below doc: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.3/Data/HowSplunkEnterprisehandlessyslogdata"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.3/Data/HowSplunkEnterprisehandlessyslogdata&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.3/Data/Monitornetworkports"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.3/Data/Monitornetworkports&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 07:15:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350114#M64259</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-19T07:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog from switch to indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350115#M64260</link>
      <description>&lt;P&gt;I think you would need to configure inputs.conf for port 5447 at the indexer.&lt;/P&gt;

&lt;P&gt;go to &lt;CODE&gt;/opt/splunk/bin/&lt;/CODE&gt; on indexer and run this command.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     ./splunk add udp 5447 -sourcetype syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer this doc for more &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.3/Data/Monitornetworkports#Examples"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.3/Data/Monitornetworkports#Examples&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 07:17:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350115#M64260</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-04-19T07:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog from switch to indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350116#M64261</link>
      <description>&lt;P&gt;Unfortunately it doesn't work.&lt;/P&gt;

&lt;P&gt;IP-Tables NAT: /usr/sbin/iptables -t nat -A PREROUTING -m udp -p udp --dport 514 -j REDIRECT --to-ports 5447&lt;BR /&gt;
Firewall entries for 5447 and 514&lt;/P&gt;

&lt;P&gt;Entry in $SPLUNK_HOME/etc/system/local/inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[udp://10.23.112.64:5447]
disabled = false
sourcetype = syslog
index = switches
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This creates a new data input.&lt;/P&gt;

&lt;P&gt;I struggeling with your command, because the splunk running user has some security protection, so that I can't execute it.&lt;/P&gt;

&lt;P&gt;In metrics.log I have some of these entries: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;04-19-2018 13:43:59.762 +0200 INFO  Metrics - group=udpin_connections, 10.23.112.64:5447, sourcePort=5447, _udp_bps=0.00, _udp_kbps=0.00, _udp_avg_thruput=0.00, _udp_kprocessed=0.00, _udp_eps=0.00
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Otherwise I can't find any data in splunk to the switch.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 11:46:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350116#M64261</guid>
      <dc:creator>chrisitanmoleck</dc:creator>
      <dc:date>2018-04-19T11:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog from switch to indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350117#M64262</link>
      <description>&lt;P&gt;Though you can syslog to indexers. Don’t. Send to a syslog server of your flavor and use a universal forwarder to pickup logs. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.georgestarcher.com/splunk-success-with-syslog/"&gt;http://www.georgestarcher.com/splunk-success-with-syslog/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 03:22:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350117#M64262</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2018-04-20T03:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Syslog from switch to indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350118#M64263</link>
      <description>&lt;P&gt;I found the solution:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Port forwarding was not enabled for the interface. &lt;A href="https://serverfault.com/questions/140622/how-can-i-port-forward-with-iptables"&gt;1&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;The NAT-Rule was not saved. &lt;A href="https://serverfault.com/questions/220586/howto-configure-opensuse-firewall-to-route-local-traffic-to-local-ports"&gt;2&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 24 Apr 2018 08:11:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Syslog-from-switch-to-indexer/m-p/350118#M64263</guid>
      <dc:creator>chrisitanmoleck</dc:creator>
      <dc:date>2018-04-24T08:11:15Z</dc:date>
    </item>
  </channel>
</rss>

