All Apps and Add-ons

Splunk MLTK : Error in 'sample' command: The specified field name for the partition already exists: partition_number

premrajvs
Explorer

I am trying to execute the sample command in Splunk MLTK. For some reason, I am getting an error everytime I run a stats command after the sample command. 

index=_internal | sample partitions=3 seed=42 | stats count by action, partition_number

Search error

Error in 'sample' command: The specified field name for the partition already exists: partition_number
 
I tried providing different field name and it is still the same error. If I remove stats command and try running the same search multiple times, it works without any issues. What could be the reason ?

 

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...