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
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!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[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 ...