All Apps and Add-ons

Can you read a CSV file using HEC?

joydeep741
Path Finder

Can I read a CSV file using HEC (HTTP EVENT COLLECTOR)?

curl -k https://localhost:8088/services/collector -H "Authorization:Splunk be6e9136-55-4ace-9770-51626303d2e2" -d "{\"sourcetype\":\"trialHEC\", \"event\":\"Hello,World!\"}"

So instead of a "HELLO WORLD" I want to send an entire file.

How can I do that?

0 Karma

starcher
Influencer

that is not what that app does. The app is an alert action to send search results to HEC.
If you want to send a csv file to HEC you should develop code such as python to do it.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...