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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...