...
- Kibana 7.4.2
Anchor kibana kibana
Code Block |
---|
wget https://artifacts.elastic.co/downloads/kibana/kibana-7.4.2-amd64.deb |
...
wget https://artifacts.elastic.co/downloads/kibana/kibana-7.4.2-amd64.deb.sha512 |
...
shasum -a 512 kibana-7.4.2-amd64.deb |
...
sudo dpkg -i kibana-7.4.2-amd64.deb |
Anchorelasticsearch_configure elasticsearch_configure
Elasticsearch Configuration
elasticsearch_configure | |
elasticsearch_configure |
...
cluster.name: elasticsearch node.name: ${HOSTNAME} node.master: true node.voting_only: false node.data: true node.ingest: true node.ml: false cluster.remote.connect: false path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch network.host: INSERT the Fully Qualified Domain Name (WAS_FQDN) to which the server listens discovery.seed_hosts: [“INSERT the WAS_FQDN to which the server listens”] cluster.initial_master_nodes: INSERT the HOSTNAME (not WAS_FQDN) of the server xpack.ml.enabled: false xpack.security.enabled: false |
The Elasticsearch cluster should be started with the following command:
Code Block |
---|
service elasticsearch restart |
Verifying that Elasticsearch is running is possible via: netstat -tlnpu (ports 9200, 9300)
Notably, "cluster.initial_master_nodes" must be commented out after the first initialization of the Elasticsearch cluster. The above configuration assumes that the setup includes a single Elasticsearch node. Configuration for more advanced setups is available in the following WiFiMon guide "Streaming Logs Into ELK Cluster".
...