Deployment Architecture

Cluster Command Grouping

lavanya_gurrapu
New Member

Hi,

Need help on below issue. I am using cluster command for Summary field.

source="sample_data.csv" index="incidents" sourcetype="csv" | makemv Summary | mvexpand Summary| top limit=500 Summary | eval Summary=replace(Summary,"([\,+])","")|regex Summary = "[a-zA-Z0-9]"|search NOT [ |inputlookup Stop_Words.csv | rename Word as Summary ] | cluster t=0.6 showcount=t field=Summary|table cluster_count cluster_label Summary | sort -cluster_count

below are the results

cluster_count cluster_label Summary
5 107 page
3 10 check
3 28 unavailable
3 41 error
3 54 tool
3 62 issue
3 64 details

Different words are grouped together. I am expecting like below

Job - {Job,Jobs,Job?,Job!}
Error - {Issue,Error}

How can i do that? How can i grouped the similar words together and categorize.

Appreciate for quick help

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...