Splunk Search

Limiting Results in Splunk REST API

sashaank
Observer

So I am trying to run a splunk search using Splunk REST API which finds a list of triggered alerts.

 

 

| rest /servicesNS/-/search/alerts/fired_alerts/Alert%20Name

 

 

 

So the problem is that if I try running this search for say 15 minutes, I want this API to return only the triggered alerts that occurred within the last 15 minutes, but it doesn't happen like that here. Instead this returns all the alerts that happened during the course of the day and is listed in triggered alerts. So is there a way by which I can get this to work?

Labels (2)
0 Karma
Get Updates on the Splunk Community!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

[Puzzles] Solve, Learn, Repeat: Unmerging HTML Tables

[Puzzles] Solve, Learn, Repeat: Unmerging HTML TablesFor a previous puzzle, I needed some sample data, and ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...