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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...