Reader small image

You're reading from  Implementing Splunk: Big Data Reporting and Development for Operational Intelligence

Product typeBook
Published inJan 2013
PublisherPackt
ISBN-139781849693288
Edition1st Edition
Tools
Concepts
Right arrow
Author (1)
VINCENT BUMGARNER
VINCENT BUMGARNER
author image
VINCENT BUMGARNER

Vincent Bumgarner has been designing software for over 20 years, working with many languages on nearly as many platforms. He started using Splunk in 2007 and has enjoyed watching the product evolve over the years. While working for Splunk, he has helped many companies train dozens of users to drive, extend, and administer this extremely flexible product. At least one person in every company he has worked with has asked for a book, and he hopes that this book will help fill their shelves.
Read more about VINCENT BUMGARNER

Right arrow

Reusing a query


One example of separating layout from data would be using a single query to populate both a table and a chart. The advanced XML for this could look like the following:

<view template="dashboard.html">
  <label>Chapter 8 - Reusing a query</label>

  <module
      name="StaticContentSample" 
      layoutPanel="panel_row1_col1">
    <param name="text">Text above</param>
  </module>

  <module 
      name="HiddenSearch" 
      layoutPanel="panel_row1_col1" 
      autoRun="True">
    <param name="search">
      sourcetype="impl_splunk_gen" loglevel=error | top user
    </param>
    <param name="earliest">-24h</param>

    <module name="HiddenChartFormatter">
      <param name="charting.chart">pie</param>
      <module name="JSChart"></module>

      <module 
          name="StaticContentSample" 
          layoutPanel="panel_row1_col1">
          <!-- this layoutPanel is...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Implementing Splunk: Big Data Reporting and Development for Operational Intelligence
Published in: Jan 2013Publisher: PacktISBN-13: 9781849693288

Author (1)

author image
VINCENT BUMGARNER

Vincent Bumgarner has been designing software for over 20 years, working with many languages on nearly as many platforms. He started using Splunk in 2007 and has enjoyed watching the product evolve over the years. While working for Splunk, he has helped many companies train dozens of users to drive, extend, and administer this extremely flexible product. At least one person in every company he has worked with has asked for a book, and he hopes that this book will help fill their shelves.
Read more about VINCENT BUMGARNER