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.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

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

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...