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.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!

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Splunk Developer Day announcements: AI agents, MCP tools, Forecasting, and Custom ...

Splunk Developer Day was packed with product and platform updates for developers building in the AI ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...