What is binjr?
binjr is a time series browser; it renders time series data produced by other applications as dynamically editable representations and provides advanced features to navigate the data smoothly and efficiently (drag & drop, zoom, history, detachable tabs, advanced time-range picker).
It is a standalone client application, that runs independently of the applications that produce the data; there are no server or server-side components dedicated to binjr that need to be installed on the source.
The user experience in binjr revolves around enabling users to compose a custom view by using any of the time-series
exposed by the source, simply by dragging and dropping them on the view.
That view then constantly evolves as users add or remove series from different sources, while navigating through it by changing the time range, the type of chart visualization and smaller aspects such as the color or transparency for each series.
Users can then save the current state of their session at any time to a file, in order to reopen it later or to share it with someone else.
binjr also possesses the ability to visualize time series not only as charts of numeric values, but can be customized to support visualization for any data type; for instance it features out-of-the-box a source adapter for text based log files.
Log files, produced by applications to trace their lifecycle at runtime, typically contain timestamps for each event
they contain; so we can think of them as time series, but with data points being textual information instead of numerical
In practical terms, this means that a lot of the features built into binjr to compose and navigate time series visualizations can be applied to log files with great benefits.
Behind the scene, binjr uses Apache Lucene to index data from log files; meaning users can use its powerful query language to hack through vast quantities logged events.
It also allows binjr to open log files of any size; unlike most text editors which will fail to load multi gigabytes-sized files as they try to fit it all in memory, binjr will happily index those and present a paginated view so that memory usage remains reasonable, while the backing index ensures navigating and searching is lightning fast.
With these abilities, binjr aims to become the missing link between text editors and command line tools
traditionally used to analyse monitoring data locally and full-blown log analytics platforms (e.g. Elastic/Logstash/Kibana
stack) that centralizes logs for entire organizations.
It provides many of the same powerful visualization and search features while still remaining a totally local solution (the data never needs to be pushed to the cloud - or anywhere else for that matter), and requiring no setup nor maintenance to speak of.
...and what it isn't
- binjr is not a system performance collector, nor a collector of anything else for that matter. What it provides is efficient navigation and pretty presentation for time series collected elsewhere.
- binjr is not a cloud solution. It's not even a server based solution; it's entirely a client application, albeit one that can get its data from remote servers. Think of it as a browser, only just for time series.
- binjr is not a live system monitoring dashboard. While you can use it to connect to live sources, its feature set is not geared toward that particular task, and there are better tools for that out there. Instead, it aims to be an investigation tool, for when you don't necessarily know what you're looking for beforehand and you'll want to build and change the view of the data as you navigate through it rather than be constrained by pre-determined dashboards.
Data source agnostic
- Standalone, client-side application.
- Can connect to any number of sources, of different types, at the same time.
- Communicates though the APIs exposed by the source.
- Supports for data sources is extensible via plugins.
- Supports time-series with numeric (e.g. charts) or text (e.g. logs) values.
Designed for ad-hoc view composition
- Drag and drop series from any sources directly on the chart view.
- Mix series from different sources on the same view.
- Allows charts overlay: create charts with several Y axis and a shared time line.
- Highly customizable views; choose chart types, change series colours, transparency, legends, etc...
- Save you work session to a file at any time, to be reopened later or shared with someone else.
- Mouse driven zoom of both X and Y axis.
- Drag and drop composition.
- Browser-like, forward & backward navigation of zoom history.
- Advanced time-range selection widget.
- The tabs holding the chart views can be detached into separate windows.
- Charts from different tabs/windows can be synchronized to a common time line.
Fast, responsive & aesthetically pleasing visuals
- Built on top of JavaFX for a modern look and cross-platform, hardware accelerated graphics.
- Three different UI themes, to better integrate with host OS and fit user preferences.
Java based application
- Cross-platform: works great on Linux, macOS and Windows desktops!
- Strong performances, even under heavy load (dozens of charts with dozens of series and thousands of samples).
Supported data sources
binjr can consume time series data provided by the following data sources:
- JRDS: A performance monitoring application written in Java.
- Netdata: distributed, real-time performance and health monitoring for systems and applications
- Round-Robin Database (RRD) files, produced by RRDtool and RRD4J.
- Comma Separated Values (CSV) files.
- Text based, semi-structured log files.
- A stand-alone demonstration data source.
There are several ways to get up and running with binjr:
Download an application bundle
The simplest way to start using binjr is to download an application bundle from the download page.
These bundles contain all the dependencies required to run the app, including a copy of the Java runtime specially
crafted to only include the required components and save disk space.
They are less than 60 MB in size and there is one for each of the supported platform: Windows, Linux and macOS.
Simply download the one for your system, unpack it and run
binjr to start!
Build from source
You can also build or run the application from the source code using the included Gradle wrapper.
Simply clone the repo from Github and run:
./gradlew buildto build the JAR for the all the modules.
./gradlew runto build and start the application straight away.
./gradlew clean packageDistributionto build an application bundle for the platform on which you ran the build.
Please note that it is mandatory to run the
cleantask in between two executions of the
packageDistributionin the same environment.
Download and run the latest version from the command line.
Alternatively, if your environment is properly set up to run Java 11+ and Apache Maven, you can start binjr simply by running a single command line:
- Linux / macOS:
mvn exec:java -f <(curl https://binjr.eu/run-binjr.pom)
curl https://binjr.eu/run-binjr.pom > %temp%\run-binjr.pom & mvn exec:java -f %temp%\run-binjr.pom
See Launch the latest version via Apache Maven in the wiki form more details.
Trying it out
If you'd like to experience binjr's visualization capabilities but do not have a compatible data source handy, you can use the demonstration data adapter.
It is a plugin which embeds a small, stand-alone data source that you can readily browse using binjr.
- Make sure binjr is installed on your system and make a note of the folder it is installed in.
- Download the
binjr-adapter-demo-1.x.x.ziparchive from https://github.com/binjr/binjr-adapter-demo/releases/latest
- Copy the
binjr-adapter-demo-1.x.x.jarfile contained in the zip file into the
pluginsfolder of your binjr installation.
- Start binjr (or restart it if it was runnning when you copied the plugin) and open the
demo.bjrworkspace contained in the zip (from the command menu, select
Workspaces > Open..., or press Ctrl+O)
The documentation can be found here.
If you encounter an issue, or would like to suggest an enhancement or a new feature, you may do so here.
At the moment, sources that binjr can use are limited both in types and numbers, which is to be expected given that it is a fully community-driven effort with a tiny number of contributors.
The great thing about it being an open source, community driven project, though, is that should you believe that there is is a use case where binjr could be a good fit but lacks supports for a specific time-series DB or some other feature, there are always ways to make it happen.
So, please, do not hesitate to suggest a new feature or source support request by opening a issue.
Source code contributions are also welcome; if you wish to make one, please fork this repository and submit a pull request with your changes.
How is it licensed?
binjr is released under the Apache License version 2.0.
Special thanks to YourKit for providing us with access to their Java profiler.
YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.