Book Image

Learning Splunk Web Framework

By : Vincent Sesto
Book Image

Learning Splunk Web Framework

By: Vincent Sesto

Overview of this book

Building rich applications on the Web using Splunk is now simpler than ever before with the Splunk Web Framework. It empowers developers to build their own web applications with custom dashboards, tables, charts, form searches, and other functionalities in the datasets at their disposal. The book will start with the fundamentals of the Splunk Web Framework, teaching you the secrets of building interesting and user-friendly applications. In the first application, you will learn to analyze and monitor traffic hitting the NASA website and learn to create dashboards for it. You will then learn additional, and more detailed, techniques to enhance the functionalities of the app such as dashboards and forms, editing simple XML, using simple XML extensions, tokens, post-process searches, dynamic drill-downs, the Splunk Web Framework and REST API, and much more. The second app will use historical stock market data and will create custom dashboards using Splunk Web Framework; the book will now cover important topics such as creating HTML dashboards, enhancing the visual appeal of the app using CSS, and moving your app with SplunkJS. The book will provide different and interesting examples instead of the usual “Log, Index, Search, and Graph” so that Splunk will be the first tool readers think of to resolve a problem.
Table of Contents (15 chapters)
Learning Splunk Web Framework
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

So what is SplunkJS?


SplunkJS is included as part of the Splunk Web Framework to specifically allow web developers to create Splunk style visualizations and dashboards from within their own websites. You can download SplunkJS from the developer site at the following location: http://dev.splunk.com/view/SP-CAAAEWR.

By adding SplunkJS to your own website code, it provides you with the ability to interact with all the web framework components and enables you to interact with your Splunk data with ease by providing the following:

  • It provides all the tools you will need to connect, authenticate, and interact with your Splunkenvironment.

  • It gives you the ability to construct search managers to create queries to extract the data you need from Splunk. This data can be used for your external or third-party visualizations and charts.

  • SplunkJS provides all the same visualizations that you are used to using in your HTML dashboards, so you can get started setting up your visualizations with ease.

As we have...