# Elastic Agent and other Beats not run

**URL:** <https://discuss.elastic.co/t/elastic-agent-and-other-beats-not-run/259730>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [December 28, 2020, 12:20pm UTC](https://discuss.elastic.co/t/elastic-agent-and-other-beats-not-run/259730 "2020-12-28T12:20:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Minh\_Ti\_n\_Tr\_n](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/minh_ti_n_tr_n/32/60754_2.png) [@Minh\_Ti\_n\_Tr\_n](https://discuss.elastic.co/u/Minh_Ti_n_Tr_n)\
**Post date:** [December 28, 2020, 12:20pm UTC](https://discuss.elastic.co/t/elastic-agent-and-other-beats-not-run/259730/1 "2020-12-28T12:20:16Z")

</div>

I install ELK in single-node mode with following configuration  
Host IP: 192.168.87.47

Elasticsearch.yml

```
network.host: 0.0.0.0
node.name: elasticsearch
cluster.initial_master_nodes: elasticsearch

# Transport layer
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.key: /etc/elasticsearch/certs/elasticsearch.key
xpack.security.transport.ssl.certificate: /etc/elasticsearch/certs/elasticsearch.crt
xpack.security.transport.ssl.certificate_authorities: /etc/elasticsearch/certs/ca/ca.crt

# HTTP layer
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.verification_mode: certificate
xpack.security.http.ssl.key: /etc/elasticsearch/certs/elasticsearch.key
xpack.security.http.ssl.certificate: /etc/elasticsearch/certs/elasticsearch.crt
xpack.security.http.ssl.certificate_authorities: /etc/elasticsearch/certs/ca/ca.crt

# Elasticsearch authentication
xpack.security.enabled: true

path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch

```

Kibana.yml

```
server.host: 0.0.0.0
server.port: 443
elasticsearch.hosts: https://192.168.87.47:9200
elasticsearch.password: i9mARqws1YTAguOlHz9H

# Elasticsearch from/to Kibana

elasticsearch.ssl.certificateAuthorities: /etc/kibana/certs/ca/ca.crt
elasticsearch.ssl.certificate: /etc/kibana/certs/kibana.crt
elasticsearch.ssl.key: /etc/kibana/certs/kibana.key

# Browser from/to Kibana
server.ssl.enabled: true
server.ssl.certificate: /etc/kibana/certs/kibana.crt
server.ssl.key: /etc/kibana/certs/kibana.key

# Elasticsearch authentication
xpack.security.enabled: true
elasticsearch.username: elastic
server.defaultRoute: /app/wazuh
xpack.encryptedSavedObjects.encryptionKey: "something_at_least_32_characters"

```

Ingest Management Setting:  
Global output  
Kibana URL: [https://192.168.87.47](https://192.168.87.47)  
Elasticsearch URL: [https://192.168.87.47:9200](https://192.168.87.47:9200)

Ingest Integrate: Metric & Apache  
I follow the instruction at: [https://mediatemple.net/community/products/dv/204404734/how-do-i-enable-the-server-status-page-on-my-server](https://mediatemple.net/community/products/dv/204404734/how-do-i-enable-the-server-status-page-on-my-server)  
My previous topic: [Metricbeat only run system module instead of running both system and apache module - Elastic Stack / Beats - Discuss the Elastic Stack](https://discuss.elastic.co/t/metricbeat-only-run-system-module-instead-of-running-both-system-and-apache-module/258098/16)

For now I still not get the apache metric log. Any idea to solve that? thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 25, 2021, 2:20pm UTC](https://discuss.elastic.co/t/elastic-agent-and-other-beats-not-run/259730/2 "2021-01-25T14:20:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
