Hi All,
I'm trying to start Metricbeat as a windows service but it is refusing to start.
I'm getting an error 1067: The process terminated unexpectedly
OS: Windows 2016 DataCenter
Metricbeat Service AppPath
"C:\Program Files\Metricbeat\metricbeat.exe" -v -c "C:\Program Files\Metricbeat\metricbeat.yml" --path.home "C:\Program Files\Metricbeat" --path.data "C:\ProgramData\metricbeat" --path.logs "C:\ProgramData\metricbeat\logs"
metricbeat.yml
metricbeat.config.modules:
# Glob pattern for configuration loading
path: ${path.config}/modules.d/*.yml
# Set to true to enable config reloading
reload.enabled: true
# Period on which files under path should be checked for changes
reload.period: 10s
setup.template.settings:
index.number_of_shards: 1
index.codec: best_compression
env: production
cloud.id: "MyCloudID"
cloud.auth: "elastic:MySuperSecurePassword"
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"]
processors:
- add_host_metadata: ~
- add_cloud_metadata: ~
logging.level: debug