Getting Data In

how can I get Hostnames anits respective IP address through a query.For e.g (index=winlog | Stats count by host) only returns hostnames .I would like the hostname and IP address

simonselvin2019
Explorer

how can I get Hostnames anits respective IP address through a query.For e.g (index=winlog | Stats count by host) only returns hostnames .I would like the hostname and IP address by modifying the search.

0 Karma

simonselvin2019
Explorer

This doesn't work

0 Karma

wmyersas
Builder

What "doesn't work"?

0 Karma

wmyersas
Builder

Add more grouping fields to your stats call:

index=ndx sourcetype=srctp
| stats count by host ip
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 ...