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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...