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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...