Skip to content

elasticsearch_config job from logsearch/211.0.3

This job loads pre-defined configuration into Elasticsearch cluster

Github source: 03b1ebc or master branch

Properties

elasticsearch_config

docs

An array with key-value hashes; keys being doc path, value being doc source

Default
[]

elasticsearch

host

The elasticsearch master node hostname

port

the elasticsearch master node port

Default
9200

index_prefix

Name prefix of your log indices that can uniquely distinguish them among other ES indices if apply pattern ‘’ to it, e.g. ‘logs-’. It is used in the index templates predefined in the job to specify index pattern. Make sure the prefix matches logstash_parser.elasticsearch.index property set for your parser.

Default
logstash-

license

The ElasticSearch License string

templates

An array with key-value hashes; keys being template name, value being template content

Default
[]

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/elasticsearch_config/ directory (learn more).

  • bin/job.process (from bin/job.process)
  • bin/upload-config (from bin/upload-config.erb)
  • config/bpm.yml (from bpm.yml.erb)
  • index-templates/index-mappings.json (from index-templates/index-mappings.json.erb)
  • index-templates/index-settings.json (from index-templates/index-settings.json.erb)
  • index-templates/shards-and-replicas.json (from index-templates/shards-and-replicas.json.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.