All Apps and Add-ons

Splunk DB Connect: How to parse user name field form McAfee logs so it can support CIM?

thambisetty
SplunkTrust
SplunkTrust

Hi,

I have McAfee logs coming in to Splunk using Splunk DB Connect application. There are total 3 fields related to user name:
1. user
2. source_logon_user
3. logon_user

and the mcafee logs tagged to malware, attack, operations and the data is being accelerated by Malware datamodel. Malware data model looks for user and user field is available in McAfee logs, but the problem is I need to consider logon_user/source_logon_user not user field, I could simply rename source_logon_user/logon_user to user to work with CIM, again the problem with logon_user/source_logon_user has username like :

domain\username
username@domain.com
username

how to deal with the above scenarios, the reason why I would like to reformat the username field from above three scenarios to user, when we search something user=username , it will not return user=domain\username.

please help me out, if any spelunker already faced/solved this problem.

————————————
If this helps, give a like below.
0 Karma

mhoogcarspel_sp
Splunk Employee
Splunk Employee

By looking at the CIM doc
http://docs.splunk.com/Documentation/CIM/4.9.1/User/Malware

you want to use "dest_nt_domain" field to extract the domain separately from the username.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...