Deployment Architecture

Day wise report for newly added devices starts forwarding data for the first time

sunnybmv
Engager

Hi
I am trying to get a query to get the list of devices everyday when a new splunk client starts forwarding data for the first time?

Thanks & regards,
Sunnybmv

Tags (2)

somesoni2
Revered Legend

Try this

1) Create a saved search with following search query

| metadata type=hosts index=* | eval duration=now()-firstTime | where duration<87300 | rename host as Client firstTime as FirstReportedOn totalCount as EventReported | table Client FirstReportedOn EventReported

(in above query 87300 is 86400 (1 day) + 15 min, so it will list all the host that reported yesterday, for the first time)

2) Schedule this saved search to run at every night at 12:15 AM

cron schedule - 0 15 * * *

3) Setup appropriate alert action (sending email etc).

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...