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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...