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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...