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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...