Splunk Search

Why are events duplicating when running | collect command using output_format=hec?

Pavankumar
Loves-to-Learn Lots

HI 

 

I am facing issue when running collect command event are double in new index

test  | collect index=test_1 output_format=hec

if in test index there are 100 event when running collect command  with output_format=hec then event are 200 in test_1 index.

how can I resolved this event duplication.

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

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...