Hi everyone,
i already used Metricbeat for the windows perfmon plugin in version 6.0.0-alpha2 to collect metrics from websites.
now i was trying to replace 6.0.0-alpha2 with the 6.0.1 or 6.1.1 version, but it won't start the service on my Windows 2012 R2 server with an error, that the service wasn't starting fast enough.
Ok then i started to understand what the actual error was, config changes? permissions?..
i went down with my config to a really small version to see if something is broken:
#========================== Modules configuration ============================
metricbeat.modules:
#------------------------------- System Module -------------------------------
- module: windows
metricsets: ["perfmon"]
period: 10s
perfmon.counters:
#Cache API values
- instance_label: "test"
instance_name: "test2"
measurement_label: "cache.api.entries"
query: '\ASP.NET Apps v4.0.30319(_LM_W3SVC_5_ROOT)\Cache API Entries'
still getting the error, what else? ok lets check the output to elasticsearch.
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["https://elastic_cloud_url"]
index: "myindex-%{+yyyy.MM.dd}"
# Optional protocol and basic auth credentials.
#protocol: "https"
username: "elastic"
password: "changeme"
looks right (before i changed it for posting it here )
Lets disabled it and use the logstash output to localhost:5044 (default setting in metricbeat.yml) and whats going to happen? service started...
now I'm confused...if i let the metricbeat 6.0.0-alpha2 run, then i don't have any problems and receive the events in elastisearch, but after uninstall/install the service for 6.1.1 then i cant start the service.
any idea why this is happening? i also dont get any logs for that failed start, so i cant see what actually is happening with metricbeat 6.x
Would appreciate any help or hint how i can fix it, cause i really want to use the 6.x version instead of the alpha
Thanks in advance for any help.
Cheers,
Dirk