Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning Splunk Web Framework

You're reading from   Learning Splunk Web Framework Create, extend and publish real time Splunk applications.

Arrow left icon
Product type Paperback
Published in Aug 2016
Publisher Packt
ISBN-13 9781786462947
Length 262 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
 Sesto Sesto
Author Profile Icon Sesto
Sesto
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Splunk Web Framework Fundamentals 2. Presenting Data to Users as a Splunk App FREE CHAPTER 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 9. Moving Your App off Splunk with Splunk JS

Customizing JavaScript Modules in HTML


We are going to add a table to the bottom of the page to show the data for the highest open values for our stock market data. The table will be simple and only have two rows, but our changes to our JavaScript code will then allow the row to be expanded and display a timechart of the opening stock values.

  1. You should still be in the html directory of your Splunk App. Open up the stock_market_historical_overview_html.html file in your text editor. We will start by adding in the div elements that will set up the table that will be displayed at the bottom of the page. Move down to line 62 of our code and add the following lines:

          62     <div id="row3" class="dashboard-row dashboard-row3"> 
          63         <div id="panel1" class="dashboard-cell"
                     style="width: 100%;"> 
          64             <div class="dashboard-panel clearfix"> 
          65  
          66                 <div class="panel-element...
lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Splunk Web Framework
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime
Modal Close icon
Modal Close icon