Using Lookups » History » Version 1
Version 1/3
-
Next » -
Current version
Luke Murphey, 07/27/2017 10:57 PM
Lookups¶
Network Toolkit includes custom lookups that can be used to get information on hosts within events. The lookups provided are:
- whois
- ping
- traceroute
- nslookup
Below are some examples of running these commands:
Whois:
* | head 1 | eval host_to_lookup="splunk.com" | lookup whois host as host_to_lookup | table _raw host raw updated_date nameservers registrar whois_server query creation_date emails expiration_date status id
Ping:
* | head 1 | eval host_to_lookup="splunk.com" | lookup ping host as host_to_lookup | table _raw host sent received packet_loss min_ping max_ping avg_ping jitter return_code raw_output
Traceroute:
* | head 1 | eval host_to_lookup="splunk.com" | lookup traceroute host as host_to_lookup | table _raw host return_code raw_output hops
NSlookup:
* | head 1 | eval host_to_lookup="splunk.com" | lookup nslookup host as host_to_lookup | table _raw aaaa a mx ns server