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
Communicator

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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...