Splunk Search

Merge case sensitive and not case sensitive username event windows

a5003976
Explorer

Hello,
thanks all in advance for your response.
Can i merge events of windows, in particular field User_Name, when there are multiple occurrences with upper and lower case in username?

For example:

DOMAIN\name or DOMAIN\NAME or DOMAIN\Name or DOMAIN\namE

i want to create a search (regex or other) that have as output a single result and not multiple results.

there is chance to get it?

Thanks.
Mark.

1 Solution

richgalloway
SplunkTrust
SplunkTrust

You can normalize the field before displaying or processing it. For example,

... | eval User_Name=lower(User_Name) | stats count by User_Name | table User_name count
---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

You can normalize the field before displaying or processing it. For example,

... | eval User_Name=lower(User_Name) | stats count by User_Name | table User_name count
---
If this reply helps you, Karma would be appreciated.
0 Karma

a5003976
Explorer

Thanks richgalloway!!

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 ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...