Deployment Architecture

Bug in cluster command? Cluster not generating cluster_count field

responsys_cm
Builder

I'm running Splunk 6.1 on CentOS 6.5.

When I run a search like: sourcetype=barnyard2 | cluster | table cluster_count,_raw

The cluster_count field doesn't show up in the field list. I've even tried specifying countfield=cluster_count (or any other name) and it still doesn't show up.

Is this a bug? This worked as expected in previous versions of Splunk.

Thanks.

Craig

Tags (1)
1 Solution

somesoni2
Revered Legend

Try this

sourcetype=barnyard2| cluster showcount=true | table cluster_count,_raw

View solution in original post

somesoni2
Revered Legend

Try this

sourcetype=barnyard2| cluster showcount=true | table cluster_count,_raw

responsys_cm
Builder

That worked.

sourcetype=barnyard2| cluster showcount=true | table cluster_count,_raw

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...