Refine your search:

Is it possible to change or completely remove the menuing/header system from above the charts/graphs on a view? (or all of them)

I am at a customer who is looking to use their own menuing system and include Splunk in it - using their own menus to link directly to the desired view/dashboard. Please let me know how I can change/remove everything with the black background at the top of a Splunk page.

asked 22 Jun '10, 14:07

Jason's gravatar image

Jason
2.0k25
accept rate: 49%


2 Answers:

You can quite easily create a custom view (or edit the existing views) in Advanced XML. As a very simple example, this:

<view template="dashboard.html" onunloadCancelJobs="False" autoCancelInterval="100">
  <!--  autoCancelInterval is set here to 100  -->
  <label>Chart</label>
  <module name="Message" layoutPanel="messaging">
    <param name="filter">*</param>
    <param name="clearOnJobDispatch">False</param>
    <param name="maxSize">3</param>
  </module>

  <module name="HiddenSearch">
    <param name="search">* | head 100 | chart count by source</param>
    <module name="FlashChart" layoutPanel="panel_row1_col1">
      <param name="width">100%</param>
      <param name="height">100%</param>
    </module>
  </module>
</view>

displays just a chart (and error messages).

link

answered 23 Jun '10, 02:50

gkanapathy's gravatar image

gkanapathy ♦
26.4k1622
accept rate: 42%

However, replacing them with a new menu system from some other javascript or HTML or other library is much more difficult, undocumented, and unsupported.

(23 Jun '10, 02:51) gkanapathy ♦

It wouldnt be that bad to put another dropdown menu system in there. the ServerSideInclude module plus etc/apps/APPNAME/appserver/static/application.js can take you a long way.

(23 Jun '10, 05:40) nick ♦

Hi Jason,

all the appearances in Splunk are manageable by CSS. You have to create a customized yourfile.css that will override default configurations. Maybe could be useful for you the following doc http://www.splunk.com/base/Documentation/4.1.3/Developer/UseCSS

Bye

Nik

link

answered 22 Jun '10, 14:26

nik_splunk's gravatar image

nik_splunk
739
accept rate: 33%

Thanks - shutting off visibility in CSS would be one option, but I am also interested in how to put in custom custom menu HTML/JS code in the headers as well.

(22 Jun '10, 15:06) Jason
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×104
×96

Asked: 22 Jun '10, 14:07

Seen: 885 times

Last updated: 21 Jul '10, 03:23

Copyright © 2005-2012 Splunk, Inc. All rights reserved.