Splunk Search

Two Unrelated Searches -- One Report

whod81
Explorer

Is it possible to attach two searches to a single report?

SEARCH ONE (daily report by host, time ranged -1d@d to @d)

sourcetype="xxx" xtime=*s | convert auto(xtime) | search xtime>=6 | chart count(eval(xtime>=6)) as 6+, count(eval(xtime>=12)) as 12+, count(eval(xtime>=18)) as 18+ by host

SEARCH TWO (daily report not by host but last 7 days worth of counts, time range -7d@h to now)

sourcetype="SmtpPrevent_operational" dtime=*s | convert auto(dtime) | search dtime>=60 | timechart span=1d count(eval(dtime>=60)) as 60+, count(eval(dtime>=120)) as 120+, count(eval(dtime>=180)) as 180+

lguinn2
Legend

Why not build a dashboard with 2 panels? You can schedule the dashboard to be generated and emailed daily...

See Schedule Delivery of Dashboard Printouts via Email

sowings
Splunk Employee
Splunk Employee

The dashboard can still contain two panels; it doesn't have to be emailed. Consider the main landing page of the search app--there are several different panels. The searches that drive a given panel don't have to be related. Each of your above searches could easily be given its own panel, viewable on demand (vs. scheduled).

0 Karma

whod81
Explorer

This is a good idea, but unfortunately PDF isn't a format I'm hip to recieving every day.

Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

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

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...