Ad slot: top

SPL

Average Search Duration

Description

Submitted by ItsJohnLocke

Ever wonder how your search performance is across search heads? Try this query. Depending on your environment you'll want to specify the host=* section to better represent your environment. Say if you have a naming convention that includes "shc" and a number representing searchheads in a cluster (distributed environment) you can use (host=shc1.fq.dn OR host=shc2.fq.dn OR host=shc3.fq.dn) or perhaps use wildcards like (host="shc*").
4 0
index=_audit sourcetype=audittrail action=search total_run_time=* host=* | dedup search_id | eval runtime=if(isnum(total_run_time), total_run_time, "null") | where runtime!="null" | timechart span=15m avg(runtime) as "Average Run Time" by host limit=0

Comments

0 total

Be the first to comment on this SPL.

Leave a comment

You must log in to post a comment.

Ad slot: bottom