---
title: Charmhub | Deploy Knf Lma Stack using Charmhub - The Open Operator Collection
description: Deploy the latest version of Knf Lma Stack as a Kubernetes Operator on
  any cloud.
url: https://charmhub.io/knf-lma-stack/configurations/elasticsearch
---

##### We've discontinued the registration of new Bundles

New Bundle registrations are no longer accepted. Existing bundles remain functional. We recommend using the Juju Terraform Provider for new deployments.

[Learn more](https://discourse.charmhub.io/t/discontinuing-new-charmhub-bundle-registrations/15344)

# Knf Lma Stack

[David](https://charmhub.io/publisher/davigar15 "View all packages from David")
| bundle

* [David](https://charmhub.io/publisher/davigar15 "View all packages from David")
  | bundle
* [Monitoring](https://charmhub.io/?filter=monitoring)

Platform:

stable 0

```
juju deploy knf-lma-stack
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [Elasticsearch](https://charmhub.io/knf-lma-stack/configurations/elasticsearch)
* [Filebeat](https://charmhub.io/knf-lma-stack/configurations/filebeat)
* [Grafana](https://charmhub.io/knf-lma-stack/configurations/grafana)
* [Graylog](https://charmhub.io/knf-lma-stack/configurations/graylog)
* [Mock Knf](https://charmhub.io/knf-lma-stack/configurations/mock-knf)
* [Mongodb](https://charmhub.io/knf-lma-stack/configurations/mongodb)
* [Prometheus](https://charmhub.io/knf-lma-stack/configurations/prometheus)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* apt-key-url | string

  Default: https://artifacts.elastic.co/GPG-KEY-elasticsearch

  The url for the key for the apt-repository.
* apt-repository | string

  Default: deb https://artifacts.elastic.co/packages/6.x/apt stable main

  A deb-line for the apt archive which contains the elasticsearch package.
  This is necessary until elasticsearch gets into the debian/ubuntu archives.
* auto-create-index | string

  Default: true

  Control whether index creation is created automatically or not. Also see
  the elasticsearch documentation about "action.auto\_create\_index" setting.
  Default to true which means indices are created automatically.
* cluster-name | string

  Default: elasticsearch

  This sets the elasticsearch cluster name.
* es-heap-size | int

  Default: 3

  Maximum and initial JVM heap size for Elasticsearch, in GB
* firewall\_enabled | boolean

  Default: True

  By default, the admin and peer ports (9200 and 9300) are only accessible
  to clients and peers respectively. Switch this to false to enable access
  from any machine.
* gpg-key | string

  ES repository key to use. This option can be used instead of
  apt-key-url and gpg-key in environments where proxy servers
  block access to apt-key-url.
* gpg-key-id | string

  Default: D88E42B4

  Elasticsearch's GPG fingerprint to validate the apt key
* nagios\_context | string

  Default: juju

  Used by the nrpe-external-master subordinate charm.
  A string that will be prepended to instance name to set the host name
  in nagios. So for instance the hostname would be something like:
  .
  juju-myservice-0
  .
  If you're running multiple environments with the same services in them
  this allows you to differentiate between them.
* nagios\_servicegroups | string

  A comma-separated list of nagios servicegroups.
  If left empty, the nagios\_context will be used as the servicegroup.
