I have been modifying searches to accommodate Windows data in the CIS Top 20 Critical Controls app. The following search does not return results when invoked by the visualization on the Dashboard or on the first run when opening the Search window. If I run it again in the Search window, it runs and delivers the correct result.
Control #1 - Inventory of Unauthorized Devices - Count
tag=dhcp signature=DHCPREQUEST OR signature="A lease was renewed by a client"
| lookup approved_device_inventory clientip AS dest_ip
| eval approval_status = if(is_approved==1,"1","0")
| where approval_status = 0
| dedup dest_ip
| stats count by dest_ip
| stats sum(count)
| rename sum(count) AS Unauthorized_Devices
The Search works fine and populates the visualization on the installation I created on a Sandbox instance. The only difference on my Prod install is that I have added the OR clause: OR signature="A lease was renewed by a client"
Has anyone else encountered this "second run works" issue?
... View more