Splunk Search

dnslookup not working

nedwards94
Engager

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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...