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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...