IT IT

Splunking F1: Part Two

Do you remember when your maths teacher told you it’s not the final answer that’s important, it’s your working out that really counts? Well, during this year’s SplunkLive! London event, we had a tie for first place on our F1 racing simulator; two identical lap times to within one thousandth of a second - amazing! Both James and Joe wanted to win the first prize – tickets to the British Grand Prix, so we decided to investigate their driving styles by examining the car telemetry data streamed to Splunk during their respective sessions. Much like an outage or security investigation, with the data in Splunk, we were able to unwind the events to find out how we arrived at the end result. In this case, the result was the fastest lap time. In other scenarios, it could be how security defences were breached, or why a server went down, the process is the same.

One element missing from the F1 data listed in part one of this post, was information concerning the actual driver. To supplement this, we built a simple form in Splunk to capture driver name and demographic data, storing the information in the Splunk KV Store. The final piece; the leaderboard dashboard, correlates the driver information with the telemetry data collected during the race to determine fastest completed lap, of the first 3 laps per contestant.

The table below shows the average throttle, brake and steering application from the driver, ranging from 0 (no application) to 1 (full application).  

Session Summary StatsFrom the above summary table, we can see that James was on the throttle longer and on the brakes less of the time, indicating that he accelerated and braked harder than Joe – key for a fast lap time. James also used less steering angle, indicating a smoother driver, again key for being fast. So how was Joe able to match James’s lap time?

Throttle Application

Brake ApplicationThe answer isn’t obvious when looking at the driver inputs alone. However, the speed of the car does give a clear indication. The speed chart from the two drivers reveals that James had a terrible last corner as the pressure of the big prize got to him! Joe kept a clear head and applied the power beautifully through ‘Club Corner’, a very fast right hander which requires the driver to balance the car on the edge of adhesion. This allows him to recover the time that he had lost to James in the earlier part of the lap. 

Speed (mph)

For those who missed out on the excitement, the competition is sure to make another appearance at a Splunk event near you! We are also exploring additional features to add to the app, such as the use of the Machine Learning Toolkit to predict behaviours based on player demographic, driving style, and to correlate the data with real-world IOT data sources.

Not and F1 fan? Let us know what other sports you think we could Splunk. Who knows, it could be our next event competition!

Haider Al-Seaidy
Posted by Haider Al-Seaidy

Born in Iraq but raised in Devon, Haider speaks English and Arabic (although the Arabic is a little rusty!). He returned from 4 years in Dubai to join Splunk in the UK and it turned out to be an inspired move. When he can, Haider tries to take his kart out to the track as much as possible.

Join the Discussion