Splunk Enterprise Security

Using REX field Command How?

atulod1
New Member

06/02/2018 06:00:37 AM
LogName=Application
SourceName=MSSQLSERVER
EventCode=18456
EventType=0
Type=Information
ComputerName=pwchdstgdw01.camilo.net
User=NOT_TRANSLATED
Sid=S-1-5-21-825750147-1553096506-3895987836-639042
SidType=0
TaskCategory=Logon
OpCode=None
RecordNumber=1185644
Keywords=Audit Failure, Classic
Message=Login failed for user 'M-core\caadmin'. Reason: Failed to open the explicitly specified database 'SSCap'.
[CLIENT: 10.97.41.171]

0 Karma

niketn
Legend

@atulod1 please add more details on what you need to extract using rex. Based on the data seems like you are you are using Windows Event Viewer Logs which should be automatically extracted as fields in Splunk.

Also while posting question on Splunk Answers make sure you mask/anonymize any sensitive information like User Id, database, Computer Name etc.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Index This | What goes away as soon as you talk about it?

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

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...

Getting Started with Splunk Artificial Intelligence, Insights for Nonprofits, and ...

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