With the London to Paris ride now complete, and the fundraising target well on its way, it’s the perfect time to dive into the technical magic that made it possible to track the journey in real-time. Over the past few days, you were able to follow the riders’ progress, see their locations on a map, and even view route details and elevation profiles through an intuitive dashboard.
Like the wizard of Oz (but a much more pleasant version), there was a very clever person behind the curtain. That person is Dean Cresswell, Solutions Engineer (extraordinaire).
Dean has worked with many customers over many years and is one of the go to people for all things dashboards and mapping. It made perfect sense to entrust this important event tracking with him. So let's take a look at what Dean did to bring this all to life. Over to you Dean.
One of the main challenges we faced was tracking the location of all the riders in near real-time, using a variety of different devices. The team was equipped with hardware from several vendors, so we needed a solution that worked across platforms, was secure, and could deliver location data without delays.
After some research, we found the OwnTracks app, available for both iOS and Android, to be the perfect solution. Not only did it allow location tracking for multiple riders, but it also gave each rider control over when and how their location was shared. This was critical for maintaining data privacy. Additionally, OwnTracks could send location data in a JSON format via HTTP, which aligned perfectly with HTTP Event Collector (HEC), making data ingestion seamless.
Once we had the location data from OwnTracks, we needed a reliable way to bring it into Splunk for analysis. The HEC allowed us to receive JSON payloads in near real-time and immediately start working with the data.
Initially, the system used the index time as the event timestamp, which wasn’t ideal due to the structure of the JSON body. Thankfully, Splunk’s flexibility in sourcetype configurations allowed us to quickly adjust this. We utilised Splunk's UI-based data onboarding tools to extract the correct timestamp, ensuring all location data was accurately timed.
With the data correctly ingested and timestamps aligned, we could begin the fun part. Turning this data into meaningful visualisations and analytics.
Once the location data was flowing into Splunk, our next challenge was presenting this information in a clear and engaging way for both the participants and those following the ride. We had a few key requirements for the dashboards:
1. Mapping the Ride
To achieve this, we turned to the Maps+ app, developed by Scott Haskell and available on Splunkbase. This app provided advanced mapping capabilities that allowed us to display all the necessary details.
Splunk’s core features: schema on read and Search Processing Language (SPL). Both played a pivotal role here. These allowed us to manipulate and visualise the data without modifying the original dataset. We used SPL to:
We also used subsearches to overlay each rider’s actual location on the map, providing a real-time view of their progress.
2. Tracking Key Metrics
Mapping the ride was only part of the story. We also wanted to track key metrics that would give deeper insights into the riders’ performance and safety. These included:
We built these metrics into a dashboard using Splunk’s Dashboard Studio, which allowed us to create a visually engaging interface that resembled a virtual cycle computer. The single base search we used for the mapping features was easily expanded to include these metrics. Here’s how we tackled each one:
We also used icons, shapes, and images to make the dashboard more visually appealing, ensuring it was as functional as it was engaging for viewers.
3. Making the Dashboard Public
You might be wondering, "How did you make this dashboard available for the public to view?" That’s where DashPub-Plus comes in. This open-source library allowed us to securely share the Splunk dashboard with the public, so anyone could follow the ride in real-time from anywhere in the world. DashPub gave us the flexibility to keep sensitive data secure while still making the dashboard accessible to everyone.
By leveraging Splunk’s powerful data ingestion, manipulation, and visualisation tools, we were able to track the riders in near real-time and present a clear, engaging view of their journey. Whether it was plotting the planned route, monitoring key metrics, or sharing the live dashboard with the public, each component came together to ensure a smooth and transparent tracking experience.
Thanks Dean, great work as always!
In the next blog, we’ll dive deeper into the technical details behind DashPub-Plus with a special guest, Will Searle, the current repo owner. We’ll explore how this library enabled us to share the dashboard with the world and ensure that everything worked seamlessly throughout the ride.
Once again, congratulations to the riders, and a huge thank you to everyone who followed along through our dashboards!
The Splunk platform removes the barriers between data and action, empowering observability, IT and security teams to ensure their organizations are secure, resilient and innovative.
Founded in 2003, Splunk is a global company — with over 7,500 employees, Splunkers have received over 1,020 patents to date and availability in 21 regions around the world — and offers an open, extensible data platform that supports shared data across any environment so that all teams in an organization can get end-to-end visibility, with context, for every interaction and business process. Build a strong data foundation with Splunk.