Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

garethahealy/elastawatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Release Version License

elastawatch

PoC to see how ElasticSearch Watcher works.

Building

This project contains everything needed to run the example:

  1. Build the Camel Loader:

    mvn clean install

  2. Download and install ElasticSearch/Kibana with the required plugins

    ./elasticsearch/1_install.sh ./kibana/1_install.sh

Running

To run the examples, follow the below order:

  1. Start ElasticSearch

    ./elasticsearch/2_run.sh

  2. Start Kibana (useful for visualising the logs):

    ./kibana/2_run.sh

  3. Create the example watcher:

    ./watcher/create.sh ./watcher/example-watcher.json

  4. Start up the loader:

    cd elastic-loader mvn camel:run

  5. Copy the example file into the running loader:

    cp elastic-loader/src/main/resources/example.json elastic-loader/target/json/

The file should be processed, loaded into ElasticSearch and you should now start to see the following log message in ElasticSearch:

[2016-10-04 16:16:38,839][INFO ][watcher.actions.logging  ] [Fontanelle] Found 1 'elasticsearchLoad started' in the logs

About

[Archived] PoC to see how ElasticSearch Watcher works

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors