- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
alexspunkshell
Contributor
10-01-2021
05:58 AM
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
10-01-2021
06:00 AM
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lavender
Loves-to-Learn Everything
04-20-2023
02:40 AM
I too having same kind of issue . I have tried with your solution , but still I can see duplicate values . please help @ITWhisperer
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
04-20-2023
02:46 AM
I have no idea what SPL you used to create that output since you didn't share it. Having said that, given that you apparently have three occurrences of the same string, perhaps your base data is at fault, or perhaps you have trailing spaces?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lavender
Loves-to-Learn Everything
04-20-2023
03:06 AM
I got the solution .
mvexpand doesn't work because the field is not a multi-value field. It's a single-value field with embedded newlines. Tried using the split function to break up the field then mvexpand and it works
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Azeemering
Builder
10-01-2021
06:09 AM
This field contains multiple duplicate values I guess.
You can remove it like this:
index=graphsecurityalert | mvexpand title | dedup title | table title
Check to see which events contain those multivalues:
index=graphsecurityalert | eval c=mvcount(title) | table c
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
10-01-2021
06:01 AM
| eval title=mvdedup(title)
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
10-01-2021
06:00 AM
| stats count by title
| fields - count
