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!

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...