Splunk Observability Cloud

basicauth extension while monitoring oracledb using Splunk Otel

sagar-yakkundi
Explorer

Hi,

Instead of passing the username and password in a plain text format, I was trying the basicauth extension for authentication and monitoring the oracledb and require some assistance, as after adding the below details in the agent_config.yml , The splunk otel collector is not starting up and am seeing error.

Kindy help.

In agent_config.yml

extensions:
   basicauth:
   htpasswd:
       file: /etc/otel/collector/.htpasswd

receivers:
  oracledb/demo:
  protocols:
     http:
       auth:
          authenticator: basicauth
   endpoint: <hostname:port>
   service: <DBname>

service:
   metrics:
       receivers: [oracledb/demo]

 

 

Tags (1)
0 Karma
1 Solution

bishida
Splunk Employee
Splunk Employee

Hi,

Probably worth mentioning--the oracledb receiver is not something that is accessed with http, so you don't want to try to use ".htaccess". You need to use a service account within oracle that has some basic grant privileges. The receiver connects to your Oracle DB and pulls out the metrics for monitoring. The config for this will look like this:

receivers:
  oracledb:
    datasource: "oracle://USERNAME:PASSWORD@HOST:PORT/DATABASE"

https://docs.splunk.com/observability/en/gdi/opentelemetry/components/oracledb-receiver.html

View solution in original post

0 Karma

bishida
Splunk Employee
Splunk Employee

Hi,

Probably worth mentioning--the oracledb receiver is not something that is accessed with http, so you don't want to try to use ".htaccess". You need to use a service account within oracle that has some basic grant privileges. The receiver connects to your Oracle DB and pulls out the metrics for monitoring. The config for this will look like this:

receivers:
  oracledb:
    datasource: "oracle://USERNAME:PASSWORD@HOST:PORT/DATABASE"

https://docs.splunk.com/observability/en/gdi/opentelemetry/components/oracledb-receiver.html

0 Karma
Get Updates on the Splunk Community!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...