Skip to content

didlich/ingest-xml-to-json

Repository files navigation

Elasticsearch xml-to-json Ingest Processor

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

Usage

PUT _ingest/pipeline/xml-to-json-pipeline
{
  "description": "A pipeline to do whatever",
  "processors": [
    {
      "xml_to_json" : {
        "field" : "my_field"
      }
    }
  ]
}

PUT /my-index/my-type/1?pipeline=xml-to-json-pipeline
{
  "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/ingest-xml-to-json/build/distribution/ingest-xml-to-json-0.0.1-SNAPSHOT.zip

Bugs & TODO

  • There are always bugs
  • and todos...

About

Elasticsearch xml-to-json Ingest Processor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages