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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...