Dashboards & Visualizations

Chart Overlay Help

b17gunnr
Path Finder

Hello folks,

I'm struggling with something that should be very basic. I have two queries to track skipped scheduled searches, the first counts the number of times a search has been skipped and the second counts how many times my individual SHC members have skipped a search. What I would like to be able to do is render my first query as a column chart and then overlay the second as a line chart. Any help would be appreciated. Thank you.

index=_internal sourcetype=scheduler status="skipped" | timechart count BY savedsearch_name useother=f usenull=f limit=0

index=_internal sourcetype=scheduler status="skipped" | timechart count BY host useother=f usenull=f limit=0

Labels (2)
0 Karma
1 Solution

PrewinThomas
Motivator

@b17gunnr 

Try appendcols to merge the results of the two timechart searches.

This should give you savedsearch_name series and all the host series side by side.

index=_internal sourcetype=scheduler status="skipped"
| timechart count BY savedsearch_name useother=f usenull=f limit=0
| appendcols [
search index=_internal sourcetype=scheduler status="skipped"
| timechart count BY host useother=f usenull=f limit=0
]


Regards,
Prewin
If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!

View solution in original post

PrewinThomas
Motivator

@b17gunnr 

Try appendcols to merge the results of the two timechart searches.

This should give you savedsearch_name series and all the host series side by side.

index=_internal sourcetype=scheduler status="skipped"
| timechart count BY savedsearch_name useother=f usenull=f limit=0
| appendcols [
search index=_internal sourcetype=scheduler status="skipped"
| timechart count BY host useother=f usenull=f limit=0
]


Regards,
Prewin
If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!

PickleRick
SplunkTrust
SplunkTrust

Wow. This is one of the very few cases where appendcols actually makes sense since due to timechart usage and aligned time ranges you should get matching results in both searches. 👍

0 Karma

sainag_splunk
Splunk Employee
Splunk Employee

@b17gunnr Hi!! based on what I can think of this might help?

  index=_internal sourcetype=scheduler status="skipped"

  | timechart count BY savedsearch_name limit=5

  | addtotals col=t labelfield=_time label="Total_Hosts"

 

  Then in Visualization:

  1. Chart Type: Column Chart

  2. FormatChart OverlayOn

  3. Overlay field: Select Total_Hosts (or whatever the total field is named)

  4. Chart Overlay type: Linear

 

  This gives you:

  - Column chart: Individual savedsearch skip counts

  - Line overlay: Total volume trend across all hosts

If this helps, Upvote!!!!
Together we make the Splunk Community stronger 
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

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

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...