Splunk Observability Cloud

No Data in Splunk O11y for Python Applications

Eshwar
Engager

Hi Community,

Good day!

We have Python (Flask) applications hosted on an IIS web server, where the environment has been configured virtually. We would like to instrument the Python application data and send it to the Splunk Observability Cloud. Additionally, we have installed the OpenTelemetry (OTel) Collector to collect host-level and IIS web server metrics. The OTel Collector is successfully collecting and forwarding host and IIS metrics to the Splunk Observability Cloud.

We have installed the Splunk Python agent and configured the required environment variables at the application level in IIS Manager for instrumentation, as shown below. After restarting the IIS server and accessing the application multiple times, we are still not seeing any application data flowing into the Splunk Observability Cloud.

Could you kindly review the issue and advise on the required steps to resolve it?

 

Eshwar_0-1779792600108.pngEshwar_0-1779792600108.png

 

Regards,

Eshwar

 

 

0 Karma

bishida
Splunk Employee
Splunk Employee

Hi,
Couple of quick observations on your env vars.

OTEL_EXPORTER_OTLP_PROTOCOL value looks suspicious. I would expect it to be "http/protobuf".

OTEL_EXPORTER_OTLP_ENDPOINT value looks suspicious. port 4318 is the default port for http and 4317 is the default port for grpc. If yours is truly 4319, that means you've customized it, so maybe double check that in the case that you are running on a custom port. Otherwise, I would expect the value to be "http://localhost:4318"

0 Karma

Eshwar
Engager

Any advice?

Regards,

Eshwar

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

test 2

test 222222

test

test

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...