Dashboards & Visualizations

help with accelerated report with dashboard dynamic parameter value slowness

dhavamanis
Builder

We have dashboard with report query, based on base query its loading fine, if add a filter sitename in addition that time range filter. its taking long time to show results.

base query accelerated with report and added to dashboard:

index="mpsakamai" source=/var/log/httpd/akamai/* site=* ("path=%2F&" OR "path=/&") | bucket _time span=1d | stats count by _time, site,response_code | sort _time desc

modified above query with dynamic parameter:

index="mpsakamai" source=/var/log/httpd/akamai/* site=$site_name$ ("path=%2F&" OR "path=/&") | bucket _time span=1d | stats count by _time, site, response_code | sort _time desc

if i pass sitename as alltime, its fetch results fast. if pass particular site value from dashboard dropdown and its taking long time to fetch the results.

Can you please help us, how to speed up this dashboard refresh faster while choosing the sitename.

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

If you change the query up to and including the first reporting command then it will not be eligible for the existing report acceleration summary.

You can solve that like this:

base search | ... | stats count by _time, site, response_code | search site=$site_name$ | sort 0 _time desc

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

If you change the query up to and including the first reporting command then it will not be eligible for the existing report acceleration summary.

You can solve that like this:

base search | ... | stats count by _time, site, response_code | search site=$site_name$ | sort 0 _time desc

dhavamanis
Builder

works fine. Thank you so much!.

0 Karma
Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...