Splunk Dev

can i use splunk sdk for javascript to build a complete custom UI? is sdk provides all the required API?

gopiktr
Engager

In my splunk application, i want to use angular 4.0 as my client(custom UI), and i don't want to show the splunk UI. What is the best way to achieve ?
Can i use splunk SDK for javascript to achieve this? Will the SDK provides all the required apis?
Kindly suggest me.

Thanks in Advance

niketn
Legend

@gopiktr, is your requirement to use Angular 4 in your dashboard? If you are comfortable with Splunk Web Framework you can convert Splunk Dashboard from Simple XML to HTML and then add Angular 4 to your dashboard. However, while HTML Dashboard give you flexibility of designing the UI as any other HTML page. If removes some of the built in features present in Simple XML (most of the new UI features available from 6.5 onward). So if you would need those you would need to code them yourself. Also once you convert to HTML dashboard, it can not be reverted back to Simple XML.

On the other hand through Splunk JavaScript SDK, you would code similar to HTML Dashboard by directly accessing components of Splunk Web Framework (Splunk JS Stack).

Most of Splunk UI's appearance can be changed through Simple XML CSS and JS extension as well (without converting Simple XML Dashboard to HTML). Do try to look into that as well. Weigh in your options and choose as per your requirements and constraints.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

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

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...