/siddhi-store-elasticsearch

Primary LanguageJavaApache License 2.0Apache-2.0

Siddhi-store-elasticsearch

The siddhi-store-elasticsearch extension is an extension for siddhi Elasticsearch event table implementation. This extension can be used to persist events to a Elasticsearch server instance of version 6.x.x.

Find some useful links below:

Latest API Docs

Latest API Docs is 1.0.5.

Prerequisites

  • Elasticsearch can be downloaded directly from href="https://www.elastic.co/downloads/elasticsearch" in zip, tar.gz, deb, or rpm packages.
  • Then install the version 6.2.4, usual Ubuntu way with dpkg.
    sudo apt-get update
    wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/6.2.4/elasticsearch-6.2.4.deb
    sudo dpkg -i elasticsearch-6.2.4.deb
    
    How To Install and Configure Elasticsearch on Ubuntu 16.04
  • Also you can start the Elasticsearch server using docker image:
    docker run -p 9600:9200 -p 9700:9300 -e "discovery.type=single-node" -e ELASTIC_PASSWORD=MagicWord -d docker.elastic.co/elasticsearch/elasticsearch:6.2.4
    

How to use

Using the extension in WSO2 Stream Processor

  • You can use this extension in the latest WSO2 Stream Processor that is a part of WSO2 Analytics offering, with editor, debugger and simulation support.

  • This extension is shipped by default with WSO2 Stream Processor, if you wish to use an alternative version of this extension you can replace the component jar that can be found in the <STREAM_PROCESSOR_HOME>/lib directory.

Using the extension as a java library

  • This extension can be added as a maven dependency along with other Siddhi dependencies to your project.
     <dependency>
        <groupId>org.wso2.extension.siddhi.store.elasticsearch</groupId>
        <artifactId>siddhi-store-elasticsearch</artifactId>
        <version><version>x.x.x</version></version>
     </dependency>

Jenkins Build Status


Branch Build Status
master Build Status

Features

  • elasticsearch (Store)

    Elasticsearch store implementation uses Elasticsearch indexing document for underlying data storage. The events are converted to Elasticsearch index documents when the events are inserted into the elasticsearch store. Elasticsearch indexing documents are converted to events when the documents are read from Elasticsearch indexes. The internal store is connected to the Elastisearch server via the Elasticsearch Java High Level REST Client library.

How to Contribute

Contact us

Support

  • We are committed to ensuring support for this extension in production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.

  • For more details and to take advantage of this unique opportunity contact us via http://wso2.com/support/.