Splunk Search

Need Particular Host "DNS-DC-01" data from metadata

brpsingara
Explorer

I want to search "August 2018 activity on machine DNS-DC-01"

Could you please help me, how to use metadata for particular host ?

I do not have any idea.

thanks in advance

Tags (1)
0 Karma

jawahir007
Path Finder

you can try like :
| metadata type=hosts index=* |search host="DNS-DC-01"

you car refer this link for more information about metadata command: https://docs.splunk.com/Documentation/Splunk/7.3.2/SearchReference/Metadata

0 Karma

brpsingara
Explorer

| metadata index=* type=hosts
| search host=DNS-DC-01

0 Karma

jacobpevans
Motivator

Please convert your comment to an answer and "Accept" it if you feel this answers your question.

Cheers,
Jacob

If you feel this response answered your question, please do not forget to mark it as such. If it did not, but you do have the answer, feel free to answer your own post and accept that as the answer.
0 Karma

brpsingara
Explorer

But I did not see any data.

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 ...