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!

Detecting Brute Force Account Takeover Fraud with Splunk

This article is the second in a three-part series exploring advanced fraud detection techniques using Splunk. ...

Buttercup Games: Further Dashboarding Techniques (Part 9)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Buttercup Games: Further Dashboarding Techniques (Part 8)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...