Skip to content

A small Bash-script, a jq-script, and Perl-script to do a basic conversion from Elasticsearch legacy templates to composable templates.

License

Notifications You must be signed in to change notification settings

tophitter/elastic-legacy-to-composable

 
 

Repository files navigation

elastic-legacy-to-composable

A small Bash-script, a jq-script, and Perl-script to do a basic conversion from Elasticsearch legacy templates to composable templates.

As an example I have include a legacy template from Elastic 7.17 that can be converted like this:

$ ./convert2composable.sh legacy_template_1.json 
Converting legacy_template_1.json                   => legacy_template_1.json.new
Processed 1 files.
If you are satified with the new files, use the command

  rename ".json.new" ".json" *.json.new

to replace the old JSON files with the new.

About

A small Bash-script, a jq-script, and Perl-script to do a basic conversion from Elasticsearch legacy templates to composable templates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • jq 37.8%
  • Shell 32.4%
  • Perl 29.8%