Getting Data In

Help with Ingesting Data into Splunk Cloud HEC via python script

rford91
New Member

Hello all,

I am attempting to ingest data via a python script that retrieves data from an API and then forwards the results into my personal Splunk Cloud instance using the HTTP event collector.  I am running into an issue with the splunk field extractions when I run my python script and I have attached a screenshot below.  The results are being sent as one event when I want them to be sent as 19 individual events and the interesting fields are also including "near_earth_objects.2020-01-02") when I just want the fields to be "absolute_magnitude_h" since I intend to ingest historical data for multiple dates.  Is the issue with data formatting being sent from my python script or do I need to change a configuration in my splunk cloud instance. Any help would be greatly appreciated.splunk.JPG

Labels (3)
Tags (1)
0 Karma

to4kawa
Ultra Champion

If you don't have a problem with the license, you can get by with a query.

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...