Splunk Enterprise

How to get last splunk admin credential date changed

bapun18
Communicator

I want to get the date when the Splunk admin credential got changed, is there any way to get it?

0 Karma

marnall
Motivator

Unfortunately there is no such information field in the REST API for users, and the timestamp of the passwd file is updated when any user is changed.

The best option I could find is to search the _audit index for the "change_own_password" or "password change" actions. Hopefully the last password change of the admin account occurred during your data retention period for this index.

index=_audit user=admin action=*password*
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...