Last shutdown/restart date

Reply
L1 Bithead

Last shutdown/restart date

Is there anyway to find out when a device was last shutdown?

 

Thanks,

L7 Applicator

Re: Last shutdown/restart date

There is an uptime value. Maybe this value helps in your situation.

--> Now - uptime = starttime of the firewall

But if the firewall was restarted then or if it simply was powered on you need to search in the systemlogs.

Community Manager

Re: Last shutdown/restart date

you can also look for eventid system-shutdown in the system log

 

( eventid eq system-shutdown )

 

system shutdown.png


Help the community: Like helpful comments and mark solutions
Reaper out
L1 Bithead

Re: Last shutdown/restart date

just out of curosity, is there an official cheatsheet where you found this on?

 

 

Community Manager

Re: Last shutdown/restart date

years and years of experience ;)

 

I do take requests, If you'd like some things documented :)


Help the community: Like helpful comments and mark solutions
Reaper out
L1 Bithead

Re: Last shutdown/restart date

I wish Palo had a cheatsheet for these useful commands. 

L2 Linker

Re: Last shutdown/restart date

Hi Reaper,

 

Do you have a list? Or is there a documentation? For the list of "event types" on system logs.

I only know the basics like, ha/vpn/system-shutdown.

Community Manager

Re: Last shutdown/restart date

the query builder will help you with that kind of information: 

 

query builder.png

 

 

so the list of 'types' in system log, at time of writing for PAN-OS 8.0 is:

 

  • dhcp - dhcp server or client messages
  • dnsproxy - dns proxy operations
  • general - general messages (auto updates etc. )
  • globalprotect - globalprotect messages
  • hw - hardware related alerts
  • ntpd - ntp update messages
  • port - link state messages
  • ras - RASMGR phase 1 & 2 messages
  • routing - route daemon messages
  • satd - globalprotect satelite messages
  • sslmgr - sslvpn messages
  • syslog - syslog forwarding messages
  • url-filtering - URL filtering database messages
  • userid - userID agent messages
  • vpn - site to site vpn messages

Help the community: Like helpful comments and mark solutions
Reaper out
Highlighted
L2 Linker

Re: Last shutdown/restart date

I never really used the query builder. Will try to use it more now. Thank you for this! Cheers!

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!