Deployment Architecture

Configure Prometheus with Splunk

ShubhneetChawla
Explorer

Hi , 

I am a  developer and looking to integrate my Prometheus with splunk 
Prometheus is up and running at my local (http://localhost:9090)

Objective is to post metrics data(Hyperledger fabric metrics) from Prometheus directly to splunk for monitoring,  instead of Grafana
For grafana i just need to provide the Data source to it ie.  (http://localhost:9090)

 But i am unable to do the same for splunk

Steps i followed :

1. Created a HTTP event listener (HEC) on splunk.

2. Fetched the Token 

3. Passed the Token and url in Prometheus.yaml

Prometheus_File_ChangesPrometheus_File_Changes

4. When i start the Prometheus container for establishing connection with splunk It gives me below error

ErrorError 

Kindly guide me how to post my metrics/ Prometheus URL to splunk such that that i can monitor my metrics


Do let me know if i miss onto any step .

 

@splunk  #Prometheus #metrics #HyperledgerFabricV2.0 #metrics #Hyper-ledger @Anonymous  #IBM

Labels (1)

twesty
Path Finder

it looks like you may be trying to run before you can walk.

It looks like you have setup your HEC endpoint, however the first thing I would do is look at trying to send a test message to it from the same box using a script.

The error also indicates it could be to do with the content sent through. Either the message could be too large (fairly common with xml, which this looks like it is) or there's something within. if possible I would look to try and restructure the data sent through to Splunk so the message is easier to work with when inside of Splunk. 

0 Karma

ShubhneetChawla
Explorer

Can i Connect to you on hangout or something.


Thanks in Advance

0 Karma

twesty
Path Finder

Sorry I dont think there much else I would be able to assist with. I would suggest that if you need further guidance, to speak to your local account manager and support team who may be able to speak to you in further detail. 

Your other option is to reach out to a partner and see what they can offer.

0 Karma

ShubhneetChawla
Explorer

Indeed ,

I am very much new to splunk and its processes.

Well yes the Data is quite large and of real time (statsD, metrics, healthz), Though i successfully send data via Curl commands that particular HEC.

It would be good if I  could connect to for guidance.

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

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