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

Commit

Permalink
Merge pull request #25 from jonaf/jfenocchi-docs
Browse files Browse the repository at this point in the history
Minor documentation updates.
  • Loading branch information
Lance Woodson authored Aug 16, 2016
2 parents b504f63 + 9c1aea1 commit cac62a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
22 changes: 9 additions & 13 deletions demo/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,18 @@ 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](https://www.docker.com/products/docker) and [docker-machine](https://docs.docker.com/machine/install-machine/)
1. [Create and configure a machine](https://docs.docker.com/machine/get-started/).
1. Start a docker-machine: `docker-machine start`
1. Open a terminal and run ```docker-compose up```. This will bring up
Elasticsearch, FileBeat and Kibana.
2. Open a web browser and navigate to kibana:
1. Get the IP address of the Docker machine:
```docker-machine env | grep 'export DOCKER_HOST'```. This should return a
TCP address, like ```tcp://192.168.99.100:2376```. That ```192.168.99.100```
is what we want.
2. Navigate to port ```5601``` of that IP address in your web browser. For
example, if ```192.168.99.100``` is the machine's IP, then Kibana is located
at ```192.168.99.100:5601```.
3. Specify the index for kibana as ```gumshoe-*``` and use ```gs$emitted_at```
1. Open a web browser and navigate to kibana: ```localhost:5601```
1. Specify the index for kibana as ```gumshoe-*``` and use ```gs$emitted_at```
as the timestamp
4. Import the ```ops/kibana_export.json``` file from the settings > objects
1. Import the ```ops/kibana_export.json``` file from the settings > objects
tab in kibana.
5. Open the Demo Dashboard in kibana.
6. Run the application with ```VEHICLES=[some number] mvn exec:java```
7. Watch the kibana dashboard to see the events stream by
1. Open the Demo Dashboard in kibana.
1. Run the application with ```VEHICLES=[some number] mvn exec:java```
1. Watch the kibana dashboard to see the events stream by

![kibana dashboard](kibana_dashboard.png)
4 changes: 3 additions & 1 deletion java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ Java implementation of Gumshoe. Design and usage is consistent with the
Bring Gumshoe into your project as a maven dependency:

```
to be written after release
<groupId>com.bazaarvoice</groupId>
<artifactId>gumshoe</artifactId>
<version>1.4</version>
```

Somewhere duing your application's initialization, you need to configure
Expand Down

0 comments on commit cac62a6

Please sign in to comment.