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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...