<?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: retrieving log files from my router in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/retrieving-log-files-from-my-router/m-p/20924#M3080</link>
    <description>&lt;P&gt;Everything depends on your router model. The normal way to collect log entries from a router is via syslog.&lt;/P&gt;

&lt;P&gt;There are two things you'll need to do:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Configure the router to send syslog data&lt;/LI&gt;
&lt;LI&gt;Configure Splunk to receive the data.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;For Cisco routers, the command is:
&lt;B&gt;&lt;/B&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;logging 172.16.1.20
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;
Of course, replace the IP address with that of your Splunk server. There are plenty of &lt;A href="http://articles.techrepublic.com.com/5100-10878_11-6084442.html" rel="nofollow"&gt;other&lt;/A&gt; syslog references out there. For Juniper, &lt;A href="http://www.juniper.net/techpubs/software/junos/junos55/swconfig55-getting-started/html/sys-mgmt-summary49.html" rel="nofollow"&gt;this&lt;/A&gt; may help. Many home-class routers have an option to export syslog as well, typically buried under an "Advanced" menu somewhere.&lt;/P&gt;

&lt;P&gt;On the Splunk side, you can either &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Monitornetworkports?r=searchtip" rel="nofollow"&gt;configure a Splunk listener&lt;/A&gt; on port 514/udp, or you can configure your syslog server to write out to a file and index that.  For the latter approach, here's how to &lt;A href="http://answers.splunk.com/questions/8912/syslog-ng-filter-by-ip" rel="nofollow"&gt;configure using syslog-ng&lt;/A&gt;. &lt;/P&gt;

&lt;P&gt;It's also possible to enable remote logging with &lt;A href="http://www.enterprisenetworkingplanet.com/netos/article.php/3521481/Enhance-Security-with-a-Linux-Logging-Server.htm" rel="nofollow"&gt;other&lt;/A&gt; syslog daemons, though you may lose some flexibility. On Windows, look for &lt;A href="http://www.kiwisyslog.com/" rel="nofollow"&gt;Kiwi Syslog&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jan 2011 08:57:46 GMT</pubDate>
    <dc:creator>southeringtonp</dc:creator>
    <dc:date>2011-01-06T08:57:46Z</dc:date>
    <item>
      <title>retrieving log files from my router</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/retrieving-log-files-from-my-router/m-p/20923#M3079</link>
      <description>&lt;P&gt;I'm a new user of splunk, (demo) I wanted to analyze data from my router. Do I have to modify any setting in my router in order to have the files forwarded to the splunk directory?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2011 00:37:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/retrieving-log-files-from-my-router/m-p/20923#M3079</guid>
      <dc:creator>arobinson</dc:creator>
      <dc:date>2011-01-06T00:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: retrieving log files from my router</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/retrieving-log-files-from-my-router/m-p/20924#M3080</link>
      <description>&lt;P&gt;Everything depends on your router model. The normal way to collect log entries from a router is via syslog.&lt;/P&gt;

&lt;P&gt;There are two things you'll need to do:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Configure the router to send syslog data&lt;/LI&gt;
&lt;LI&gt;Configure Splunk to receive the data.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;For Cisco routers, the command is:
&lt;B&gt;&lt;/B&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;logging 172.16.1.20
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;
Of course, replace the IP address with that of your Splunk server. There are plenty of &lt;A href="http://articles.techrepublic.com.com/5100-10878_11-6084442.html" rel="nofollow"&gt;other&lt;/A&gt; syslog references out there. For Juniper, &lt;A href="http://www.juniper.net/techpubs/software/junos/junos55/swconfig55-getting-started/html/sys-mgmt-summary49.html" rel="nofollow"&gt;this&lt;/A&gt; may help. Many home-class routers have an option to export syslog as well, typically buried under an "Advanced" menu somewhere.&lt;/P&gt;

&lt;P&gt;On the Splunk side, you can either &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Monitornetworkports?r=searchtip" rel="nofollow"&gt;configure a Splunk listener&lt;/A&gt; on port 514/udp, or you can configure your syslog server to write out to a file and index that.  For the latter approach, here's how to &lt;A href="http://answers.splunk.com/questions/8912/syslog-ng-filter-by-ip" rel="nofollow"&gt;configure using syslog-ng&lt;/A&gt;. &lt;/P&gt;

&lt;P&gt;It's also possible to enable remote logging with &lt;A href="http://www.enterprisenetworkingplanet.com/netos/article.php/3521481/Enhance-Security-with-a-Linux-Logging-Server.htm" rel="nofollow"&gt;other&lt;/A&gt; syslog daemons, though you may lose some flexibility. On Windows, look for &lt;A href="http://www.kiwisyslog.com/" rel="nofollow"&gt;Kiwi Syslog&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2011 08:57:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/retrieving-log-files-from-my-router/m-p/20924#M3080</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2011-01-06T08:57:46Z</dc:date>
    </item>
  </channel>
</rss>

