Getting Data In

How do I fix AWS Lambda HEC error when parsing?

lavster
Path Finder

I wonder if someone can help, we are getting the following error when trying to send data into Splunk, this previously worked but now we cant seem to get it working at all,  I have tried to curl the event manually and it succeeds, which is even stranger. The error message is

token name=xxxxchannel=********* source_IP=******reply=6events_processed=0http_input_body_size=101493parsing_err="While expecting event object to start: Unexpected character while looking for value: 'E', totalRequestSize=101493"

the event we are trying to send looks like this

{
    "time": 1663679182,
    "host": "test-sandbox",
    "source": "aws/lambda",
    "sourcetype": "aws:lambda",
    "index": "xxx-xxx",
    "event": {
        "message": "2022/09/20 14:06:22 node=test-sandbox Starting to move cantabm_testfile-9.zip from c21-metadata-dropzone-sandbox to c21-metadata-dest-sandbox/Metadata/cantabm_testfile-9.zip\n",
        "account": "11111111111"
    }
}

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

Splunk App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...