Splunk Search

Can you help me fix my Splunk search?

uagraw01
Motivator

Hello Splunkers!!

I am facing an issue while running below search. As you can see in the screenshot. Can anyone help me to fix this issue.

 

search query :

 | makeresults
| addinfo
| eval earliest=max(trunc(info_min_time),info_min_time),latest=min(max(trunc(info_max_time),info_max_time+0),2000000000)
| map search="search `indextime`>=`bin($earliest$,300)` `indextime`<`bin($earliest$,300,+300)` earliest=`bin($earliest$,300,-10800)` latest=`bin($latest$,300,+300)``"
| where false()

Screenshot for a query error:

uagraw01_0-1690386717076.png

 

 

0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
[| makeresults
| addinfo
| eval search="_indextime>=".tostring(300*trunc(info_min_time/300))." _indextime<".tostring((300*trunc(info_min_time/300))+300)."  earliest=".tostring((300*trunc(info_min_time/300))-10800)." latest=".tostring((300*trunc(info_max_time/300))+300)
| fields search] `scada_alarms`

View solution in original post

uagraw01
Motivator

@caiosalonso 
Below is the suggested possible solution

uagraw01_0-1690388779123.png

 

 

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...