Deploy Key Screen

Not many people use Unity(or really any game engine) for data visualization. I think that the main reason for this is that Unity is not marketed as a data visualization tool, and there is already a large market for such things that companies would rather use. I am currently exploring the different possibilities for interactive data visualization using Unity and the Logstash pipeline. Logstash is just one part of something much bigger called the ELK stack(Elasticsearch, Logastah, and Kibana).

For more information on what exactly the ELK stack is, or want a great guide to installing it, check out my friend’s website for help. This was a HUGE resource for me when it came to installing the ELK stack on CentOS (which I have never used before 3 days ago) .

What makes Logstash so great in my eyes, is that it outputs in JSON format that is easily accessible. You can get JSON data from the ELK stack by posting an HTTP request in Unity via the WWW component.  You can also do this more broadly in C# using the HttpWebRequest class. The reason I use WWW is because it is more optimized for game engines. After you store this data in a string (depending on what post query you use), you can use Unity’s JsonUtility to parse through it and make it accessible like any other C# data. I made a more detailed post about how to this here.

Once you have the data in C#, the possibilities are endless. A particularly interesting application of this is what I am doing on my current co-op, which is network data visualization. Reading the logs from tools like Bro, Snort, and Tshark into Logstash via Filebeat, I can effectively visualization the devices that are on the network, and the netflow data going between them. Since we are using Unity, we can be as creative as we want with how we show this, instead of just a 2D graph like most network visualizations.

I am particularly interested in using VR to show the network data. Image walking through some netflow data in real time, that would be pretty cool!