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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...