Getting Data In

I already have a source of gauged metrics accessible by http. How can Splunk PULL those?

gurpal2000
New Member

I already have a source of gauged metrics accessible by http. How can Splunk PULL those?

I cannot PUSH those metrics. They look like this when the endpoint is invoked:

metric_a 10.0
metric_b 0.02
metric_c v.12

The metrics are evaluated at the point of invocation. There is no log file (nor do I want to log to a file).

I can change the format of the http response. For example it could resemble a log4j output or some json structure...

Does Splunk support this out of the box? which version? Do i need a 3rd party plugin? what do you recommend?

cheers

0 Karma

Sukisen1981
Champion

the simplest solution is to go for a scripted input and invoke the api as a python batch script.
look it up here - https://docs.splunk.com/Documentation/Splunk/7.3.0/AdvancedDev/ScriptedInputsIntro

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...