diff --git a/elk_metrics_7x/conf.d/elk.yml b/elk_metrics_7x/conf.d/elk.yml index 342e8d03..1c330c2c 100644 --- a/elk_metrics_7x/conf.d/elk.yml +++ b/elk_metrics_7x/conf.d/elk.yml @@ -1,7 +1,9 @@ # For the puposes of this example, the kibana nodes have been added to -# different host machines that the logging nodes. The intention here -# is to show that the different components can scale independently of -# one another. +# different host machines that the logging nodes. You can also split out +# elastic-logstash into separate containers and put elasticsearch on +# more suited hosts. The intention here is to show that the different +# components can scale independently of one another. + kibana_hosts: infra01: ip: 172.22.8.24 @@ -18,6 +20,22 @@ elastic-logstash_hosts: logging03: ip: 172.22.8.29 +#elastic_hosts: +# elastic01: +# ip: 172.22.8.30 +# elastic02: +# ip: 172.22.8.31 +# elastic03: +# ip: 172.22.8.32 + +#logstash_hosts: +# logging01: +# ip: 172.22.8.27 +# logging02: +# ip: 172.22.8.28 +# logging03: +# ip: 172.22.8.29 + apm-server_hosts: logging01: ip: 172.22.8.27 diff --git a/elk_metrics_7x/env.d/elk.yml b/elk_metrics_7x/env.d/elk.yml index d5e7af71..40cdfa80 100644 --- a/elk_metrics_7x/env.d/elk.yml +++ b/elk_metrics_7x/env.d/elk.yml @@ -7,12 +7,9 @@ component_skel: elastic: belongs_to: - elk_all - - elasticsearch - - elasticsearch_all logstash: belongs_to: - - logstash - - logstash_all + - elk_all kibana: belongs_to: - elk_all @@ -27,7 +24,18 @@ container_skel: belongs_to: - elastic-logstash_containers contains: - - elastic-logstash + - elastic + - logstash + elastic_container: + belongs_to: + - elastic_containers + contains: + - elastic + logstash_container: + belongs_to: + - logstash_containers + contains: + - logstash kibana_container: belongs_to: - kibana_containers @@ -47,6 +55,18 @@ physical_skel: elastic-logstash_hosts: belongs_to: - hosts + elastic_containers: + belongs_to: + - all_containers + elastic_hosts: + belongs_to: + - hosts + logstash_containers: + belongs_to: + - all_containers + logstash_hosts: + belongs_to: + - hosts kibana_containers: belongs_to: - all_containers