Match two logs in NGSIEM - time window?
Hi there, thanks for reading!
i am trying to bring together two of our logs NGSIEM.
Falcon logs to see which user was logged into a client at a given time
Our firewall logs that only show source and destination ip but no user.
Here is my try:
defineTable(query={
UserName!="*$" and UserName!=""
|cidr("LocalIP", subnet=["MYlocalSubnets"])
}, include=[aid,UserName, LocalIP], name="Computers")
| u/collect.host="CollectingHostOfFirewallLogs"
| cidr("source.ip", subnet=["RelevantSubnets")
| in(field="destination.port", values=[Ports i am looking for])
| match(file="Computers", field=[LocalIP])
|groupBy([source.ip, destination.ip,destination.port, Vendor.rule, UserName])
|sort(destination.ip)
But the bigger my search window is, the worse by result gets as the Computers table will be static only and not having any time component in it.
Is there a way to get around this?
Thank you!