Getting Data In

How to proxy to management port 8089 for JavaScript SDK or REST API from a custom app deployed in Splunk Web?

ashishpok79
Explorer

There are examples on how to do this from external apps - using proxy from client side and node.js etc. But how can I proxy to management port 8089 for REST API or use the wrapper object (service) to invoke calls from an app deployed in Splunk Web? Any pointers would be helpful.

sowings
Splunk Employee
Splunk Employee

Once upon a time (6.0.x-ish) I built a framework to accept form entry stuff then repurposed the submit code in the JavaScript to emit to /services/receivers/simple. These days you could use the HTTP event collector.

0 Karma

Luke__Mcfly
New Member

Any new developments on this? Your Solution to this issue would help me immensely

0 Karma

ashishpok79
Explorer

Current goal is to expose a form in UI - values entered into the form will be use to generate an event in Splunk. We need user input for our analytic in some cases and would like to deploy an app in Splunk web custom app itself instead of having to spin up another application.

0 Karma

aljohnson_splun
Splunk Employee
Splunk Employee

What is your goal? Or what is it that you are trying to do?

0 Karma
Get Updates on the Splunk Community!

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

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...