/ElasticSearch-SmartNamePlugin

Create the ElasticSearch custom plugin with Java

Primary LanguageJavaApache License 2.0Apache-2.0

Elasticsearch SmartNamePlugin

GitHub Readme Stats

GitHub Readme Stats

Get dynamically generated GitHub stats on your readmes!

Explain the use case of this processor in a TLDR fashion.

Usage

PUT _ingest/pipeline/SmartNamePlugin
{
  "description": "A pipeline to do whatever",
  "processors": [
    {
      "{{ cookiecutter.processor_type | replace("-", "_") }}" : {
        "field" : "my_field"
      }
    }
  ]
}

PUT /my-index/my-type/1?pipeline=SmartNamePlugin
{
  "my_field" : "Some content"
}

GET /my-index/my-type/1
{
  "my_field" : "Some content"
  "potentially_enriched_field": "potentially_enriched_value"
}

Configuration

Parameter Use
some.setting Configure x
other.setting Configure y

Setup

In order to install this plugin, you need to create a zip distribution first by running

gradle clean check

This will produce a zip file in build/distributions.

After building the zip file, you can install it like this

bin/elasticsearch-plugin install file:///path/to/SmartNamePlugin/build/distribution/SmartNamePlugin-0.0.1-SNAPSHOT.zip

Bugs & TODO

  • There are always bugs
  • and todos...

🌱 Technologies and Frameworks

Java   ElasticSearch   Logstash   Kibana   Android Studio