Splunk Search

If I only need fields "Target Account Name" and "Subject Account Name", how can I write a search to exclude other fields from the list?

pandeyashish
New Member

For example:

Message: An attempt was made to change the password
Subject: 
        Security ID:  ABC/DEF
        Account Name: XYZ
        Account Domain: ABCD
        Logon ID: 1233453
Target Account: 
       Security ID:
       Account Name:
       Account Domain:
0 Karma

javiergn
Super Champion
yoursearch
| table TargetAccountName, Subject, AcountName

Or

yoursearch
| fields TargetAccountName, Subject, AcountName
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 ...