Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Implementing Splunk (Update)

You're reading from  Implementing Splunk (Update)

Product type Book
Published in Jul 2015
Publisher
ISBN-13 9781784391607
Pages 506 pages
Edition 1st Edition
Languages

Table of Contents (20) Chapters

Implementing Splunk Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
The Splunk Interface Understanding Search Tables, Charts, and Fields Data Models and Pivots Simple XML Dashboards Advanced Search Examples Extending Search Working with Apps Building Advanced Dashboards Summary Indexes and CSV Files Configuring Splunk Advanced Deployments Extending Splunk Index

Understanding layoutPanel


In an advanced XML dashboard, the value of the layoutPanel attribute determines which panel a module is drawn to. This separation of logic and layout can be useful—for instance, allowing you to reuse data generated by a query with multiple modules—but displays the results on different parts of the page.

A few rules about this attribute are as follows:

  • The layoutPanel attribute must appear on all immediate children of <view>.

  • The layoutPanel attribute can appear on descendant child module tags.

  • If a module does not have a layoutPanel attribute, it will inherit the value from the closest upstream module that does.

  • Modules that have visible output are added to their respective layoutPanel attributes in the order they appear in the XML.

  • Modules flow in the panel they are placed. Most modules take the entire width of the panel, but some do not, and flow from left to right before wrapping.

Looking through our XML, we find these elements with the layoutPanel attribute,...

lock icon The rest of the chapter is locked
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 $15.99/month. Cancel anytime}