This application generates some random vehicle sales data, then aggregates it by manufacturer, type and model and displays its output. It has been sprinkled with Gumshoe goodness to allow event outputting to the gumshoe.log file. These are then forwarded to elasticsearch using FileBeat. You can search and visualize the event data in elasticsearch using kibana. To see this in action, do the following:
- Install Docker and docker-machine
- Create and configure a machine.
- Start a docker-machine:
docker-machine start
- Open a terminal and run
docker-compose up
. This will bring up Elasticsearch, FileBeat and Kibana. - Open a web browser and navigate to kibana:
localhost:5601
- Specify the index for kibana as
gumshoe-*
and usegs$emitted_at
as the timestamp - Import the
ops/kibana_export.json
file from the settings > objects tab in kibana. - Open the Demo Dashboard in kibana.
- Run the application with
VEHICLES=[some number] mvn exec:java
- Watch the kibana dashboard to see the events stream by