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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...