Splunk Search

dnslookup not working


trying to use "lookup dnslookup clientip as dvc OUTPUT clienthost AS dvc" within a search on a dashboard. Some of the "dvc" entries already show as hostname rather than IP which is causing issues. I also can't get the results to display on the dashboard graph although the previous IPs displayed no problem, however adding this string prevents it.

Total search is

index=sectool sourcetype=sectool* | fields bytes_in, bytes_out, dvc, user | stats count by bytes_in, bytes_out, dvc, user | eval total_bytes_in=bytes_in*count, total_bytes_out=bytes_out*count | stats sum(total_bytes_in) as "Bytes Inbound" sum(total_bytes_out) as "Bytes Outbound" by dvc | lookup dnslookup clientip as dvc OUTPUT clienthost AS dvc | sort by dvc

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...