Combining Arigi, ElasticSearch and Kibana

Arigi itself is a powerful configuration management solution for Syncthing, but the dashboard view is a bit basic. How can we dig down into what’s really going on in the cluster?

The Arigi dashboard.

This is indeed quite basic – and intentionally so. We’ve opted both for keeping the top level view simple and not reinventing the reporting wheel. Instead we leverage the open source community we’re a part of. One of Arigi’s behind the scenes operations is to subscribe to the event feed of all managed devices, and this event feed can be forwarded to an ElasticSearch instance. Once there, we can use the powerful aggregation and visualization available in Kibana to show interesting things! For example, we can get an overview of device resource usage, and see what operating systems and versions we have deployed.

Device summaries.

Perhaps more interesting is how the cluster is doing in terms of sync operations. We can get a graphical overview of the amount of files synced over time, and a summary of the latest operations - including folder and file, how it went, and which devices were involved.

Sync operations.

This is also a powerful tool for troubleshooting. For example, we might be interested in a certain file, to see how it has flowed from device to device during syncing. Doing an event search for the file name gives us a timeline of the operations involving that file.

File search.

Events can be expanded to see full device IDs, what action was taken, and so on.

This is just scraping the surface of what’s possible - the real power comes from being able to answer questions we can’t foresee, using the data we collect today! This is made possible by aggregating the individual event feeds and providing a single interface to mine the information.

To learn more, try Arigi (free for up to five devices) or inquire how it can work for you!


About

Jakob is a Senior Technical Architect at Kastelo Inc. and works with development, networking, and maintaining Syncthing.


We're based in Malmö, Sweden — probably the best place to be in the Nordics.

Copyright © 2015-2018 Kastelo Inc.