Sha256: eedb42dca1fbea702d8ff9081789ac058d77e9da24e1924fe33e86cc4bdc3b5c

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 Bytes

Contents

#!/bin/bash
set -x
curl -XDELETE localhost:9200/_template/\*

for  t in `find templates -name \*.json`
do
curl -XPUT localhost:9200/_template/`basename ${t} .json` -d @${t}
done 

echo "============================================"
curl -XGET localhost:9200/_template/
echo "============================================"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
logstash-input-proc-0.3.1 ElasticSearch/initES.sh
logstash-input-proc-0.3.0 ElasticSearch/initES.sh
logstash-input-proc-0.2.0 ElasticSearch/initES.sh