Getting Data In

Unable to send logs into Splunk from Django REST API

POR160893
Builder

Hi,

 

I need to send logs from a Django REST API to Splunk via Syslog protocol.
I am currently facing connection issues with the host and port I am using.

Here is the code I am using:

POR160893_0-1637281517139.png

My current output is as follows:

POR160893_1-1637281643257.png

 

Can someone please advise me on what port or host should be used to send such logs into Splunk?
Do I need to know what indexer I will be storing these logs on also?

Thanks

 

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

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...