Book description
Take your analytics online with the ease and power of the Splunk Web Framework
About This Book
- Want to build rich applications on the Web using Splunk? This book will be your ultimate guide!
- Learn to use web framework components with the help of this highly practical, example-rich guide
- Perform excellent Splunk analytics on the Web and bring that knowledge to your own projects
Who This Book Is For
This book will cater to Splunk developers and administrators who now wish to further their knowledge with Splunk Web Framework and learn to improve the way they present and visualize data in Splunk. A basic knowledge of JavaScript will be beneficial but is not a prerequisite.
What You Will Learn
- Master the fundamentals of Splunk Web Framework
- Start thinking of Splunk as a complete development platform to build user-friendly apps
- Extend the functionality of your apps using SimpleXML techniques
- Set up dashboard layouts, navigation, and menus in your apps
- Create simple dashboard elements including charts and tables
- Master the art of interacting with searches and dashboards
- Integrate SplunkJS to add visual appeal to your website
In Detail
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.
Style and approach
This book will follow a step-by-step approach whereby every new concept is built on top of the previous chapter, and will be highly practical in nature; the reader will learn to build apps while reading about the Splunk Web framework.
Publisher resources
Table of contents
-
Learning Splunk Web Framework
- Learning Splunk Web Framework
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. Splunk Web Framework Fundamentals
-
2. Presenting Data to Users as a Splunk App
-
Managing and creating your apps
- Creating our first Splunk app
- Alternative ways to create a Splunk app
- Adding your new Splunk app to Git
- Deleting Splunk apps
- The Splunk app directory structure
- Designing Splunk apps for your audience
- Creating a dashboard
- Field extraction for our NASA data
- Adding panels to our dashboard
- Editing existing dashboards
- Set your dashboard on the Splunk home screen
- Viewing and saving changes to GitHub
- Summary
-
Managing and creating your apps
- 3. Expand Your Splunk Apps Using Simple XML
- 4. Layouts, Navigation, and Menus
- 5. Interacting with Your User While Speeding up App Searches
- 6. Moving from Simple XML to HTML
- 7. JavaScript Modules in Your HTML App
-
8. Utilizing CSS to Spice Up Visual Appeal
- CSS templates and themes
- Get the raw dashboard ready
- Implementing your own CSS style
- Inline style sheets
- Using internal style sheets in your Splunkcode
- CSS and dashboard menus
- Setting up external style sheets in Splunkapps
- Using the Splunk Web Framework CSS
- Bootstrap alerts in your Splunkdashboard
- Bootstrap and dashboard headings
- Bootstrap tool tips
- Losing our Bootstrap themes
- Summary
-
9. Moving Your App off Splunk with Splunk JS
- So what is SplunkJS?
- What about the Splunk SDK?
- Host Splunk data outside of Splunk
- Setting up our website
- Interacting with Splunk through the management port
- Let's get started with SplunkJS
- So what if your test page doesn't work?
- Let's create our new web page...mobile first
- Authenticating with your Splunkenvironment
- Automated testing of our web page
- Writing a simple test
- Considerations when testing
- Summary
Product information
- Title: Learning Splunk Web Framework
- Author(s):
- Release date: August 2016
- Publisher(s): Packt Publishing
- ISBN: 9781786462947
You might also like
book
Practical Splunk Search Processing Language: A Guide for Mastering SPL Commands for Maximum Efficiency and Outcome
Use this practical guide to the Splunk operational data intelligence platform to search, visualize, and analyze …
book
JavaScript: The Definitive Guide, 7th Edition
JavaScript is the programming language of the web and is used by more software developers today …
book
Flask Web Development, 2nd Edition
Take full creative control of your web applications with Flask, the Python-based microframework. With the second …
book
Learning Go
Go is rapidly becoming the preferred language for building web services. While there are plenty of …