Splunk Search

Can the Flash-based timeline be rewritten in Javascript/JQuery?

CraigF
Explorer

Without starting a flame war, I'm wondering if you guys can replace the Flash-based timeline with something lighter-weight/browser agnostic like JQuery.

Tags (2)
1 Solution

sideview
SplunkTrust
SplunkTrust

Sure. It's totally feasible to make one in canvas, or just HTML tables and colored divs (like the old 3.X timeline), or use a higher-order charting system like HighCharts etc (probably the way to go).

There actually is a prototype module in the build called 'AsciiTimeline', that dates back from the very beginnings of the 4.0 codebase in early 2008. It is what it sounds like - it draws a little ascii bar graph using "x" characters.

We dont test or support the AsciiTimeline module, in fact its conf file warns you somewhat sternly that it is a prototype, it may have bugs and it's generally not a module to be taken seriously.

Also I just looked and there's a JS error that is currently breaking the selection behavior, so while it will still render the ascii bar chart, the clicks and drags dont work anymore, at least not in 4.1.

That said, if you're asking whether it's possible for a partner or third party to try and write such a module, looking at the JS source of AsciiTimeline and FlashTimeline is not a bad starting place.

We've spent a very modest amount of time and energy prototyping a module that uses HighCharts, and I think it's safe to say that at some point we will probably provide an official non-flash alternative to FlashTimeline and someday FlashChart

View solution in original post

yannK
Splunk Employee
Splunk Employee

Since 4.3. the rendering is using JSChart by default.

sideview
SplunkTrust
SplunkTrust

Sure. It's totally feasible to make one in canvas, or just HTML tables and colored divs (like the old 3.X timeline), or use a higher-order charting system like HighCharts etc (probably the way to go).

There actually is a prototype module in the build called 'AsciiTimeline', that dates back from the very beginnings of the 4.0 codebase in early 2008. It is what it sounds like - it draws a little ascii bar graph using "x" characters.

We dont test or support the AsciiTimeline module, in fact its conf file warns you somewhat sternly that it is a prototype, it may have bugs and it's generally not a module to be taken seriously.

Also I just looked and there's a JS error that is currently breaking the selection behavior, so while it will still render the ascii bar chart, the clicks and drags dont work anymore, at least not in 4.1.

That said, if you're asking whether it's possible for a partner or third party to try and write such a module, looking at the JS source of AsciiTimeline and FlashTimeline is not a bad starting place.

We've spent a very modest amount of time and energy prototyping a module that uses HighCharts, and I think it's safe to say that at some point we will probably provide an official non-flash alternative to FlashTimeline and someday FlashChart

sideview
SplunkTrust
SplunkTrust

just for fun :: after this post i spent a few minutes and fixed the bugs in AsciiTimeline so I believe the click/drag functionality will work again in 4.1.5 if it didnt already in 4.1.4.
And in general, although im not basing this on any specifics, I think it'll definitely happen in the next couple releases. 😃

zscgeek
Path Finder

Would love to see something other then flash charts.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...