The node.name Logstash config variable is currently hard coded
to inventory_hostname in the elastic_logstash role. This commit
exposes the option to modify this, which allows Logstash to be
identified under a more readable name in e.g. Kibana. The default
behaviour is unchanged.
Change-Id: Ic3b21d54c9759117550cc85bade3dc7900d0f502
The Elasticsearch endpoints in use by logstash are currently hardcoded
to localhost in both the logstash monitoring config and the default
logstash pipeline template. This commit allows this to be configured,
such that (multiple) remote endpoints can be specified for the case that
logstash is not co-located with elasticsearch. The default behaviour is
unchanged.
Change-Id: Id871f201168ff882a5b37677747c3484f908298f
Updated ELK config files to elk 7.x reference samples, bringing over
existing customisation from elk_metrics_6x.
Removed deprecated use of --pipeline in elastic_beat_setup/tasks/main.yml,
--pipeline is no longer a valid cli argument.
Updated logstash-pipelines and removed the dynamic insertion of the date into
index names. This function is now done with the new ILM feature in elasticsearch
rather than logstash.
Installation of each beat creates an ILM policy for that beat and this patch
does not change the default policy. It is possible that the default policy
will exhaust the available storage and future work needs to be done to address
this.
The non-beat elements of the logstash pipeline (syslog, collectd and others)
are not yet updated to be compatible with ILM.
Change-Id: I735b64c2b7b93e23562f35266134a176a00af1b7