Hi Everyone,
im using the 6.0.0-Alpha2 until now and want to switch to 6.0.1, but when upgrade to 6.0.1 i see that every counter/result is now creating 1 event instead to put all counters/results in one event like before.
so let's say i use 10 counters in metricbeat:
- 6.0.0-Alpha2 metricbeat is sending 1 event with all 10 results to ES
- 6.0.1 metricbeat is sending 10 events to ES
thats quite a big increase in space usage if i upgrade on all Servers to 6.0.1
so...is that the normal behavior and something special was in 6.0.0-Alpha2 included?
Cause i really want to only sent 1 event with all counters/results in it.
below is my config and the ES documents
- module: windows
metricsets: ["perfmon"]
tags: "myserver00_service.mydomain.com"
enabled: true
period: 10s
perfmon.counters:
- instance_label: "service.mydomain.com cache api entries"
instance_name: "service"
measurement_label: "cache.api.entries"
query: '\ASP.NET Apps (service)\Cache API Entries'
- instance_label: "service.mydomain.com cache api hit ratio"
instance_name: "service"
measurement_label: "cache.api.hit.ratio"
query: '\ASP.NET Apps (service)\Cache API Hit Ratio'
- instance_label: "service.mydomain.com cache api hits"
instance_name: "service"
measurement_label: "cache.api.hits"
query: '\ASP.NET Apps (service)\Cache API Hits'
- instance_label: "service.mydomain.com cache api misses"
instance_name: "service"
measurement_label: "cache.api.misses"
query: '\ASP.NET Apps (service)\Cache API Misses'
- instance_label: "service.mydomain.com cache api trims"
instance_name: "service"
measurement_label: "cache.api.trims"
query: '\ASP.NET Apps (service)\Cache API Trims'
- instance_label: "service.mydomain.com cache api turnover rate"
instance_name: "service"
measurement_label: "cache.api.turnover.rate"
query: '\ASP.NET Apps (service)\Cache API Turnover Rate'
- instance_label: "service.mydomain.com cache total entries"
instance_name: "service"
measurement_label: "cache.total.entries"
query: '\ASP.NET Apps (service)\Cache Total Entries'
- instance_label: "service.mydomain.com cache total hit ratio"
instance_name: "service"
measurement_label: "cache.total.hit.ratio"
query: '\ASP.NET Apps (service)\Cache Total Hit Ratio'
- instance_label: "service.mydomain.com cache total hits"
instance_name: "service"
measurement_label: "cache.total.hits"
query: '\ASP.NET Apps (service)\Cache Total Hits'
- instance_label: "service.mydomain.com cache total misses"
instance_name: "service"
measurement_label: "cache.total.misses"
query: '\ASP.NET Apps (service)\Cache Total Misses'
- instance_label: "service.mydomain.com cache total trims"
instance_name: "service"
measurement_label: "cache.total.trims"
query: '\ASP.NET Apps (service)\Cache Total Trims'
- instance_label: "service.mydomain.com cache total turnover rate"
instance_name: "service"
measurement_label: "cache.total.turnover.rate"
query: '\ASP.NET Apps (service)\Cache Total Turnover Rate'
- instance_label: "service.mydomain.com.arrival.rate"
instance_name: "service.mydomain.com"
measurement_label: "cache.api.entries"
query: '\HTTP Service Request Queues(service.mydomain.com)\ArrivalRate'
- instance_label: "service.mydomain.com.cache.hit.rate"
instance_name: "service.mydomain.com"
measurement_label: "cache.hit.rate"
alias: "cache.hit.rate"
query: '\HTTP Service Request Queues(service.mydomain.com)\CacheHitRate'
- instance_label: "service.mydomain.com.current.queue.size"
instance_name: "service.mydomain.com"
measurement_label: "current.queue.size"
query: '\HTTP Service Request Queues(service.mydomain.com)\CurrentQueueSize'
- instance_label: "service.mydomain.com.max.queue.item.age"
instance_name: "service.mydomain.com"
measurement_label: "max.queue.item.age"
query: '\HTTP Service Request Queues(service.mydomain.com)\MaxQueueItemAge'
- instance_label: "service.mydomain.com.rejected.requests"
instance_name: "service.mydomain.com"
measurement_label: "rejected.requests"
query: '\HTTP Service Request Queues(service.mydomain.com)\RejectedRequests'
- instance_label: "service.mydomain.com.rejected.rate"
instance_name: "service.mydomain.com"
measurement_label: "rejected.rate"
query: '\HTTP Service Request Queues(service.mydomain.com)\RejectionRate'
- instance_label: "service.mydomain.com.number.of.active.connectionpoolgroups"
instance_name: "service.mydomain.com"
measurement_label: "number.of.active.connectionpoolgroups"
query: '\.NET Data Provider for SqlServer(_LM_W3SVC_5*)\NumberOfActiveConnectionPoolGroups'
- instance_label: "service.mydomain.com.number.of.active.connectionpools"
instance_name: "service.mydomain.com"
measurement_label: "number.of.active.connectionpools"
query: '\.NET Data Provider for SqlServer(_LM_W3SVC_5*)\NumberOfActiveConnectionPools'
- instance_label: "service.mydomain.com.number.of.pooled.connections"
instance_name: "service.mydomain.com"
measurement_label: "number.of.pooled.connections"
query: '\.NET Data Provider for SqlServer(_LM_W3SVC_5*)\NumberOfPooledConnections'
- instance_label: "service.mydomain.com.number.of.reclaimed.connections"
instance_name: "service.mydomain.com"
measurement_label: "number.of.reclaimed.connections"
query: '\.NET Data Provider for SqlServer(_LM_W3SVC_5*)\NumberOfReclaimedConnections'
output section
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["https://myurltoElasticCloud:9243"]
index: "my-index-%{+yyyy.MM.dd}"
# Optional protocol and basic auth credentials.
#protocol: "https"
username: "elastic"
password: "changeme"
setup.template.name: "my-index-*"
setup.template.pattern: "my-index-*"
Note: need to post the ES document results in a second post.
thanks in advance for any help
Cheers,
Dirk