This is a simple ELK Stack Demo App, it generates data based on the mouse movement done in the browser window.
The generated data is sent over to rest api which inturns send it to Logstash. Logstash pipes this data to ElasticSearch and finally the data is visualize in the UI using Kibana.
To generate random data all you've got to do is move your mouse pointer over the empty space of the browser window (left or right part).
The rate at which the data is generated and sent depends upon the rate of the mouse movement.
If you happen to get "No results found " , it because you've not been moving the mouse.
The rate at which the data is received and sent from Logstash can be seen at the top.
Kibana has the restriction for refresh interval, the minimum value which is possible is 5sec. Hence, the visualiation shown in UI is for the 5sec older data.
This app runs with single instance of Logstash and Kibana. So, even if you haven't move the mouse yet you see Logstash transfers (IN and OUT) changing, it's probably because someone else is moving mouse in his/her browser.
-
npm install
-
npm start