Refine your search:

Is there a way to inherit a view's XML and append to it. For example, I want to include the flashtimeline view but also add a ServerSideInclude module to it with my own .html file.

And I'd like to do that instead of having to copy the existing flashtimeline view into my own app because the flashtimeline view XML can change with different splunk versions; I'd like to use the one that is installed on a given splunk server with my own extra bits of goodness added.

asked 02 Mar '11, 16:28

caphrim007's gravatar image

caphrim007
19510
accept rate: 50%


One Answer:

There is not a way to inherit a view's XML. It seems like a good idea, but it would be tricky to maintain.

Perhaps a better way to do it would be to use application.js to modify the flashtimeline behavior in your app.

link

answered 02 Mar '11, 17:46

araitz's gravatar image

araitz ♦♦
7.0k2516
accept rate: 38%

1

I guess it's not beyond the realm of imagination to embed my html in the application.js file, but before I do that, could there be any better ways to go about having the flashtimeline + extra html content without just copying the view xml straight out of the search app?

(02 Mar '11, 18:35) caphrim007
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:

×157

Asked: 02 Mar '11, 16:28

Seen: 640 times

Last updated: 02 Mar '11, 17:46

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