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!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...