- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-09-2024 01:22 PM
I am trying to find clients missing software, I found all the clients WITH the software, dumped them into a a lookup and now trying to find the difference, basically return the ones NOT in the lookup,
So something like this:
dataset = host_inventory
| filter applications != null
| arrayexpand applications
| alter applicationname=json_extract(applications, "$.application_name")
| alter applicationversion=json_extract(applications, "$.version")
| alter appvendor=json_extract(applications, "$.vendor")
| alter installdate=json_extract(applications, "$.install_date")
| join (dataset = UmbrellaHosts) as UH UH.hostname = host_name
|filter agent_type = "AGENT_TYPE_WORKSTATION"
|filter host_name != hostname
UH.hostname is the hosts from the lookup, and just doing a not equal returns nothing.
In splunk I could do it like this:
index=abc sourcetype=xyz NOT [| inputlookup data.csv | fields ccid]
Appreciate it if someone has any idea how to pull this off?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!