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?
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.