ONTAP Discussions

Event log show command

not_a_Lone_wolf

Hi Team,

Has anybody used the below set of commands in Cluster shell as per kb: https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_efficiently_search_the_event_log_in_clustered_Data_ONTAP ?

 

Events since a specific time
cm6080-rtp2::> event log show -time >=5/2/2014 08:00:00
 
Events in a specific time range:
cm6080-rtp2::> event log show -time "05/02/2014 08:00:00".."05/02/2014 09:00:00"

I tried to retrive alerts that occured 2 months back, but the result displayed only for last 2 days. Changed to advanced mode as well, but did not work. Does it work in any situation?

1 ACCEPTED SOLUTION

maffo

hi @not_a_Lone_wolf 

ONTAP will not keep an infinite amount of system logs; since there is a size limit to it, a system which is logging a lot of events will be able to show a shorter time frame of them.
For now, if you need to access logs of a specific day, you can check Autosupports in Active IQ; for future use you might want to look at a remote syslog server to forward ONTAP events to.

View solution in original post

1 REPLY 1

maffo

hi @not_a_Lone_wolf 

ONTAP will not keep an infinite amount of system logs; since there is a size limit to it, a system which is logging a lot of events will be able to show a shorter time frame of them.
For now, if you need to access logs of a specific day, you can check Autosupports in Active IQ; for future use you might want to look at a remote syslog server to forward ONTAP events to.

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public