Splunk Enterprise

help on a search wich returns random results

jip31
Motivator

Hello

When I run the search below, it returns random results!

Sometimes, 1 event is displayed and a few minutes after there is no events returned

And sometimes, it's the same event returned excepted the _time field of the vent which is not the same for even so the same hostname!

[| inputlookup host.csv 
    | table host 
    | rename host as USERNAME ] `wire` earliest=-30d latest=now 
| fields USERNAME SNR RSSI 
| eval USERNAME=upper(USERNAME) 
| eval time=strftime(_time,"%Y-%m-%d %H:%M") 
| search USERNAME=NTTA* 
| lookup all.csv HOSTNAME as USERNAME output SITE DESCRIPTION_MODEL BUILDING_CODE ROOM 
| stats last(time) as "Event time" last(RSSI) as RSSI, last(SNR) as SNR, last(DESCRIPTION_MODEL) as Model, last(SITE) as Site, last(BUILDING_CODE) as Building last(ROOM) as Room by USERNAME 
| where (RSSI >= "-72" AND RSSI <= "-77") AND SNR <= "15" 
| rename USERNAME as Hostname 
| table "Event time" Hostname RSSI SNR Model Site Building Room

 

How explain this please??

 

Labels (1)
Tags (1)
0 Karma

jip31
Motivator

I wonder if the issue is not in | where (RSSI >="-72" AND RSSI <="-77") AND SNR <"15" ?

0 Karma
Get Updates on the Splunk Community!

Celebrate CX Day with Splunk: Take our interactive quiz, join our LinkedIn Live ...

Today and every day, Splunk celebrates the importance of customer experience throughout our product, ...

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...

Out of the Box to Up And Running - Streamlined Observability for Your Cloud ...

  Tech Talk Streamlined Observability for Your Cloud Environment Register    Out of the Box to Up And Running ...