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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...