Splunk Search

How can I pull all the service name in a list?

leonuz01
Engager

Hi, I need help!

I have this query.

Ticket_Encryption_Type=0x17 Account_Domain="ad.contoso.com"

but I need, pull all the Service name in a list.

how can I do that?

thanks  

07/26/2023 12:31:30 PM
LogName=Security
EventCode=4769
EventType=0
ComputerName=a-dc1.ad.contoso.com
SourceName=Microsoft Windows security auditing.
Type=Information
RecordNumber=1125639551
Keywords=Audit Success
TaskCategory=Kerberos Service Ticket Operations
OpCode=Info
Message=A Kerberos service ticket was requested.
 
Account Information:
Account Name: team_explorer@ad.contoso.com
Account Domain: ad.contoso.com
Logon GUID: {XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
 
Service Information:
Service Name: NAME-ONE$
Service ID: S-X-X-XX-XXXXXXXXX-XXXXXXXXXX-XXXXXXXXX-XXXXX
 
Network Information:
Client Address: ::ffff:192.168.8.49
Client Port: 41365
 
Additional Information:
Ticket Options: 0x810000
Ticket Encryption Type: 0x17
Failure Code: 0x0
Transited Services: -
Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

It depends on the what you want the output to look like.  This will give you a list of Service Names and a count of how many of each were found.

index=foo Ticket_Encryption_Type=0x17 Account_Domain="ad.contoso.com"
| stats count by Service_Name
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

It depends on the what you want the output to look like.  This will give you a list of Service Names and a count of how many of each were found.

index=foo Ticket_Encryption_Type=0x17 Account_Domain="ad.contoso.com"
| stats count by Service_Name
---
If this reply helps you, Karma would be appreciated.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...