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!

Index This | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...