Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Latest commit

 

History

History

java

Gumshoe Demo Application

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:

  1. Install Docker and docker-machine
  2. Create and configure a machine.
  3. Start a docker-machine: docker-machine start
  4. Open a terminal and run docker-compose up. This will bring up Elasticsearch, FileBeat and Kibana.
  5. Open a web browser and navigate to kibana: localhost:5601
  6. Specify the index for kibana as gumshoe-* and use gs$emitted_at as the timestamp
  7. Import the ops/kibana_export.json file from the settings > objects tab in kibana.
  8. Open the Demo Dashboard in kibana.
  9. Run the application with VEHICLES=[some number] mvn exec:java
  10. Watch the kibana dashboard to see the events stream by

kibana dashboard