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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...