Advanced F1 Racing with Elastic Part 2

By 31/03/2021 #!31Wed, 06 Mar 2024 11:13:59 +0200p5931#31Wed, 06 Mar 2024 11:13:59 +0200p-11+02:003131+02:00x31 06am31am-31Wed, 06 Mar 2024 11:13:5 9 +0200p11+ 02:003131+02:00x312024Wed, 06 Mar 2024 11:13:59 +02001311133amWednesday=33#!31Wed, 06 Mar 2024 11:13:59 +0200p+02:003#March 6th, 2024#! 31Wed, 06 Mar 2024 11:13: 59 +0200p5931#/31Wed, 06 Mar 2024 11:13:59 +0200p-11+02:003131+02:00x31#!31Wed, 06 Mar 2024 11:13:59 +0200p+02:003# Download, tool

Advanced F1 Racing with Elastic (Part 2)

Get all telemetry data from the PS4

Elasticsearch
Elastic

PS4 F1 Racing for Advanced! (Part 2)

At Puur Data in the office is a Sim Racing Rig with a PS4 and F1 2020. The F1 games from Codemasters offer the possibility to send telemetry data via the UDP protocol. For our simulator we have already worked with the telemetry data from F1 2017.

In the meantime there have been a number of updates to this game and some changes have been made in the telemetry package that the game sends. We have made a new configuration file for F1 2020. With the updated config. file you will receive approximately 10,000 log lines per minute. Think of the status of the car, damage, temperature, speed, lap and sector times. Via the .conf file it is possible to index the telemetry data from F1 2020 in Elasticsearch. This data can then be visualized, for example, via a Dashboard or a Canvas. If you simulate a race weekend you will receive more than 150 million values!

We have created a Canvas workpath to give an example of visualizing the data. Read below how you can make this yourself!

Necessities

– Linux server with Elastic, Kibana and Logstash;
– Playstation 4;
– Game F1 2020;
– racing seat with steering wheel (that makes it more fun)
– The 'conf' file;
– Driver with ego who can take a dent (after all, everything can be analysed!).

Steps

Step 1 -> Install the Elastic server. Provide a, preferably, Linux server with at least 4 GB internal memory, a few cores and sufficient disk space. Install Elastic, Kibana and Logstash on it. How this should be done is described on the website of elastic.

Step 2 -> Download the 'conf' file for Logstash (HERE) and edit it (eg username and password) and make sure Logstash is started with this file.

Step 3 -> Download our Canvas workpad, so that you have an example of the possibilities of Canvas. You can (HERE) find. Just make sure that the data is indexed in: f1_data and that there is an index pattern called: f1*

Would you like to try our Canvas workpad? Then set the auto-refresh interval to 1 or 5 seconds.

Step 4 -> configure the UDP port and IP address on the Playstation in the game. This can be found in the screen when you press 'options' while driving. Make sure the IP address is the address of the server and the UDP port must match the one in the 'conf' file

The 'conf' file was created for F1 2020. This is a great example of how to collect and analyze real-time data. Good luck and have fun!

Elasticsearch
Elasticsearch

Knowing more?

Do you want to know more or do you have a question about the possibilities, call us +31 (0)88 – 7887 328, go to Contact or fill in the form below!

Recent Articles

How Elastic SIEM, AI and Machine Learning strengthen your security

| Blog | No Comments
Elastic SIEM is a powerful solution that helps organizations centralize, analyze, and visualize their security data. But the real magic of Elastic SIEM comes to life when…

The importance of full visibility into your business data with Elastic Security

| Blog | No Comments
Security teams face increasingly complex challenges. From managing advanced threats to ensuring compliance, the need for complete visibility over all your security data has never been greater...