How to search historical syslog on oneview?

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Dear All

I can see the syslog at last 24hr, but i can't see the syslog at last week. How can i do?
Photo of Shuo Tseng

Shuo Tseng

  • 370 Points 250 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Mike Thomas

Mike Thomas, Employee - GTAC - NMS

  • 7,640 Points 5k badge 2x thumb
Shuo, I assume that you are using a Netsight appliance.
Please read the following, and adjust this should apply to your issue. Let us know if this addressed your concern.

you will need to reinit the daemon to get this to take affect.
   service rsyslog restart

By default, the syslog file on the Netsight appliance is rotated each day by the logrotate daemon.

 This can be modified in the /etc/logrotate.d/rsyslog configuration file. (the 'daily' setting). You could change the 'daily' to 'weekly' or 'monthly' under the the rsyslog section, but please note that this file could get very large in size, and you may want to also change the 'rotate 30' line, which perserves 30 of the last rotated syslog files (which would have an increase in size if you modified the daily rotate option).

Photo of Shuo Tseng

Shuo Tseng

  • 370 Points 250 badge 2x thumb
Hi, Mike

I mean did it has device syslog history report, like as device alarm history report?
The NetSight can be a syslog server and keep the all network device syslog for a long time.
I can get some device syslog at some day when i need.