Deployment Architecture

Cluster Grouping

rkanalyst
Explorer

I want to group the cluster value based on the similar punct.
I have used the following query.
tag="tagname" sourcetype="sourcetype" ERROR | cluster t=0.9 showcount=true field="punct"| sort - cluster_count | head 10|table punct cluster_count

But it is not able to distinguish the different punct like below and gives the count as combination of the count of 1st and 2nd punct.

--::,[/#-]:__:.:_://...:/?=&=&=----&

--::,[/#-]:__:.:_://...:/?=.&=----&=

tag="tagname" sourcetype="sourcetype" ERROR|stats count by punct|sort - count|head 100

All suggestions are welcome!

Tags (2)
0 Karma

rkanalyst
Explorer

I was able to resolve this issue using the delim inside the cluster query.

tag="tagname" sourcetype="sourcetype" ERROR | cluster t=0.9 showcount=true field="punct" delims="&$%"| sort - cluster_count | head 10|table punct cluster_count

You can add more symbols inside the delims to distinguish the punct uniquely

delims="&$%"

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...