Monitoring Splunk

tracking who installed an app

a212830
Champion

Hi,

Is there a log that would show who/when an app was installed on a search-head?

Tags (2)

sideview
SplunkTrust
SplunkTrust

The _internal logs do keep a track of the POST requests that ultimately install an app.

For instance this search will pick up the usernames and app names of apps installed through the "Apps > Find more apps online" section. ie apps installed from the in-product integration with Splunkbase.

index=_internal sourcetype=splunkd_access method=POST uri="/services/apps/remote/*" | transaction user maxpause=10sec | stats count by file user | search file!="login"

That search however will probably need some tweaking if you're also needing to track apps installed via "Manager > Apps > Install app from file".

However if you want to track apps installed via shutting Splunk down, manually copying in the app directory and starting Splunk, it would be tricky even to pinpoint the time at which a new app appeared. The best you could do would be to track the usage of all apps and thus find the earliest times each app had ever been used. You could draw a correlation to login times and get some good clues, but that's all they'd be.

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...