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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...