Dashboards & Visualizations

how to the utilization of a particular app or a view in app in splunk

lahariveerlapat
Explorer

can we know the utilization of a particular app in splunk or a view in app.please let me know if any solution is available.

Tags (2)
0 Karma

MuS
Legend

Hi lahariveerlapati,

If I understand your request correctly you want to get an overview how often your apps were used/called - correct?
If so, you can use a simple query like this:

index=_internal source=*access.log */app/* | rex "\/app\/(?<myApp>\w+)\/(?<myView>\w+)\"" | timechart count values(myApp) AS myApps values(myView) AS myViews

to get a nice overview of the apps & view usage. This presupposes that you have read permission on the _internal index and it is available for all of your search heads abd all of your Apps and views contain only word character ( the regex match \w ).

hope this helps ...

cheers, MuS

lahariveerlapat
Explorer

Thank you for the reply.Can we get the same for the Django Views also?

0 Karma
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, ...