Switches, Hubs, and Modems
1753481 Members
4068 Online
108794 Solutions
New Discussion

Syslog on 5130 switches

 
SOLVED
Go to solution
hemh
Occasional Advisor

Syslog on 5130 switches

Hi, we are actually deploying ElasticSearch in our company.

I configured all my switches to send logs to ElasticSearch, but now I don't have log anymore locally on the switch.

Is there a way to send log to syslog, but to keep a copy on the switches?

Thanks for kind help.

1 REPLY 1
akg7
HPE Pro
Solution

Re: Syslog on 5130 switches

Hello @hemh ,

Logs remains in the switch and stored in logfile.log & Diagfile.log under 'Dir'.

You can check by using below command:

 

 

<HPE> dir /all-filesystems   -->Can view log files under directory  logfile 
<HPE>dir /all-filesystems
Directory of flash:
   0 -rw-    91373568 Jan 13 2013 00:16:32   5130HI-CMW710-R3507.ipe
   1 -rw-    10720256 Aug 08 2008 20:00:00   5130hi-cmw710-boot-r1122p02.bin
   2 -rw-     7177216 Jan 13 2013 00:19:14   5130hi-cmw710-boot-r3507.bin
   3 -rw-    61771776 Aug 08 2008 20:00:00   5130hi-cmw710-system-r1122p02.bin
   4 -rw-    84189184 Jan 13 2013 00:19:54   5130hi-cmw710-system-r3507.bin
   5 drw-           - Feb 11 2013 00:23:16   diagfile
  |
  10 drw-           - Jan 09 2014 01:09:35   logfile

<hpe>logfile save                -->It will save file into logfile/diagfile directory 
<HPE>diagnostic-logfile save 

 

 

I hope this will help you.

Thanks!

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the companyAccept or Kudo