Dashboards & Visualizations

Route Forms input to script

simuvid
Splunk Employee
Splunk Employee

Hi folks,

maybe it's weird, but I want to use a simple form to create two inputs, which should be forwarded as variables to a script.

Based on the output of this script I can do in the next step some searches, but first I need to run this script as a data input.

Any help appreciated!

Cheers,

simuvid

Tags (1)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

This is not easy to do using the Splunk XML UI framework, short of writing your own custom modules. Possibly the XML and/or the search language and or Splunk macros can do the work for you? Otherwise, I can only suggest building your UI from scratch using any other tool, and getting the data from Splunk via the REST API.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You can use the ServerSideInclude modules to include HTML in Splunk views. Not sure if this will help you that much as you would then have to have your HTML send data back to the Splunk framework, presumably. I don't know of any way for a search command to get the search string that contains it.

0 Karma

simuvid
Splunk Employee
Splunk Employee

Or is it possible to integrate html pages as a view to Splunk?

0 Karma

simuvid
Splunk Employee
Splunk Employee

Hi Gerald,

is it possible to forward a search string to a external script via piping the search to a command? I.e like outputcsv?

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...