Refine your search:

Is it possible (probably via undocumented functionality) to override any other mako templates than the EventsViewer_default_renderer.html?

Also, in a template, is event_layout the only function called by splunk to display stuff?

For example, if I put, lets say regular html outside of a mako syntax block

<img src='${make_url("/static/app/MyApp/appIcon.png")}'>

or a regular python block outside of a <%def, or any function, eventually called by event_layout

<%
print "<img src='%s'>" % make_url("/static/app/MyApp/appIcon.png")
%>

Nothing shows up.

It's only after I put the above inside of a def'd function, that is ultimately called by event_layout, that I see anything.

asked 06 Nov '10, 18:53

caphrim007's gravatar image

caphrim007
19510
accept rate: 50%

Be the first one to answer this question!
toggle preview

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