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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...