We're currently evaluating Splunk for collecting and visualizing metrics. Splunk's UI appears very nice and customizable, and we want to understand how far we can extend it for building arbitrary UI's, say, for gathering user input through a registration process, then POSTing the data to a backend custom REST service.
How flexible is splunk for building arbitrary forms and screens? I found information on converting XML to HTML forms, but that's too rudimentary for our needs. We need control over placement of form components and widgets. Is this feasible to do in splunk?
You are probably going to have to take full control and go django
:
http://dev.splunk.com/view/webframework-djangobindings/SP-CAAAEMS
Keeping in mind that django
will be deprecated in a future release and may be removed entirely at some point. Better to switch to HTML Dashboards now to prevent heartache in the future.
Really, why did Splunk make such a big investment in it, including major highlights in the Splunk 6.x Dashboard Examples
app?
Thanks for this Gregg, I never knew this existed and would be a great learning tool
Yes, it is a great app but it sounds like half of it is headed straight to the dustbin!
Yes, but to what end? You have to authenticate into Splunk first. You can use a full set of CSS/HTML/JS in the HTML Dashboards to do what ever you want with a dashboard, the harder part is redirecting users there, AFTER they authenticate. You might as well just spin a new webpage with your form that posts back to the REST service, which that data is then consumed by Splunk in the normal methods.
Please expand a little more on this very interesting use case, and we shall see what makes sense.
You can also reach us in the #splunk IRC channel on EFNET.
Hi, thank you. I want to use splunks UI framework for building custom input forms, and for displaying arbitrary data which may not originate from splunk sources. Basically, I like the UI, and if we can avoid buying an entirely separate utility dashboard/portal framework for creating interactive screens, we want to leverage splunk's dashboard/UI for that purpose.
Sure, I would make a Splunk App with all relevant configs to do that. Use the HTML Dashboards, and you will be up and running in no time.
http://dev.splunk.com/view/webframework-htmldashboards/SP-CAAAEM2 Should get you started.
If this answer is what you were looking for, please accept it. Thakns!