Splunk Search

'Show Source' in the search events

TestQA52
Observer
 
 
 
 

I am searching for logs, and when I click on 'Show source' they are more logs associated with it

Is there a way to have these other logs to show in the events? I cannot format Show Source as easily as the search events 

Labels (1)
0 Karma

aasabatini
Motivator

Hi @TestQA52 

 

try metadata command, it's really easier to check sources, sourcetypes and hosts

example for the sources:

| metadata type=sources

 

“The answer is out there, Neo, and it’s looking for you, and it will find you if you want it to.”

TestQA52
Observer
 
 
 
 

@aasabatini Hey, thank you. Im very new to Splunk

 

 

 

 

Sometext| metadata type=sources

 

 

 

 

I'm getting: or in 'metadata' command: This command must be the first command of a search

 

 

 

 

metadata type=sources | Sometext

 

 

 

 

It says Sometext is not a command

0 Karma

aasabatini
Motivator

Hi @TestQA52 

please read the documentation

https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Metadata

anyway run the search like this 

| metadata type=sources index=<your index> splunk_server=<your server>
“The answer is out there, Neo, and it’s looking for you, and it will find you if you want it to.”
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...