Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Splunk Java SDK: How do I search logs generated only within the last 20 minutes?

$
0
0
I would like to only search logs generated within the last hour. My search right now is: search index="webops_webprod" "Invalid" earliest=-20m However, when I run this search through Splunk's Java SDK, the job is queued, but I never receive a response (i.e. the job is never marked as completed). I'm assuming something's wrong with my command which is causing this.

Viewing all articles
Browse latest Browse all 47296

Trending Articles