Splunk Enterprise

How to set up HTTP Event Collector - Error No Data - Chirpstack

J_Brecken
Observer

Hi, Im trying to set up HTTP integration in ChirpStack for some IOT devices, to forward json data into Splunk via the HTTP Event Collector, however when the data is sent, splunk reports "ERROR HttpInputDataHandler...  reply=5... parsing_err="No data" "

I've been logging the data sent to the Splunk server from the Chirpstack server with wireshark. If i pull the JSON data and URI from each packet, and send that to Splunk via CURL instead, it imports just fine and i get a Success response back from Splunk.

Has anyone had a similar issue in the past? I've found essentially nothing on a Chirpstack/Splunk  stack out there.

This is (part of ) the CURL command I've tested with, which works successfully:

curl -H "Authorization: Splunk 11f6095d-9907-4649-a706-b75ebca67ecc" http://192.168.16.18:8088/services/collector/event?event=up -d '{"event":{"applicationID":"1","applicationName":"LHT65","deviceName":"LHT65-Test3","objectJSON":"{\"BatV\":2.918,\"Ext_sensor\":\"Temperature Sensor\",\"Hum_SHT\":\"41.1\",\"TempC_DS\":\"-4.00\",\"TempC_SHT\":\"4.29\"}","deviceProfileName":"LHT65"}}'

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

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...