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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...