-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows][Perfmon] There is more data to return than will fit in the supplied buffer #20139
Comments
Pinging @elastic/integrations-platforms (Team:Platforms) |
@aevalov , some improvements were implemented regarding these type of messages #18361, I am not sure if it made it to 7.8.0. |
Hi - i just hit the same problem, and then came looking into the issues and it sums it up exactly. I was using 7.8.1 x64 for windows, trying to harvest the network counters. I stripped back my config to this: - module: windows
metricsets: [perfmon]
period: 1s
perfmon.ignore_non_existent_counters: true
perfmon.group_measurements_by_instance: true
perfmon.queries:
- object: "Network Interface"
instance: ["*"]
counters:
- name: "Bytes Sent/sec"
field: "network.write.bytes"
format: "long" It would intermittently manage to update a counter, but running in debug showed this in the console:
However, switching out the EXE for the 32-bit version bought it back to working - so that's a fix for me for now! |
@aevalov , @lewk2 , took a while to reproduce this issue but somehow it started to appear once I started testing with the config provided. |
In the windows/perfmon module, when using a wildcard query for Hyper-V metrics, metricbeat don't do samples at configured period.
Elastic and Metricbeat 7.8.
Metricbeat is running on Windows Server 2019. This server has a Hyper-V role and 40 VMs.
I have config with:
It works fine for simple counters like \Hyper-V Hypervisor Logical Processor(_Total)% Total Run Time
However for VM specific counters like \Hyper-V Hypervisor Virtual Processor(*)% Total Run Time - I didn't see samples in elastic with configured period. They collected with random interval without any notable errors.
Example from Kibana is below. You can note that sample intervals are not in configured 10s:
Time | windows.perfmon.object | event.dataset
| Jul 22, 2020 @ 16:24:08.965 | Hyper-V Hypervisor Virtual Processor | windows.perfmon
| Jul 22, 2020 @ 16:22:28.950 | Hyper-V Hypervisor Virtual Processor | windows.perfmon
| Jul 22, 2020 @ 16:19:38.961 | Hyper-V Hypervisor Virtual Processor | windows.perfmon
| Jul 22, 2020 @ 16:18:58.946 | Hyper-V Hypervisor Virtual Processor | windows.perfmon
| Jul 22, 2020 @ 16:18:28.946 | Hyper-V Hypervisor Virtual Processor | windows.perfmon
| Jul 22, 2020 @ 16:18:18.955 | Hyper-V Hypervisor Virtual Processor | windows.perfmon
| Jul 22, 2020 @ 16:15:58.945 | Hyper-V Hypervisor Virtual Processor | windows.perfmon
| Jul 22, 2020 @ 16:13:48.956 | Hyper-V Hypervisor Virtual Processor | windows.perfmon
| Jul 22, 2020 @ 16:12:58.958 | Hyper-V Hypervisor Virtual Processor | windows.perfmon
| Jul 22, 2020 @ 16:10:58.954 | Hyper-V Hypervisor Virtual Processor | windows.perfmon
In debug logs you can see an error:
The same problem described here: https://discuss.elastic.co/t/metricbeat-iis-module-there-is-more-data-to-return-than-will-fit-in-the-supplied-buffer/240442/3
In my case too, the problem occurs only with 64-bit metricbeat. The 32-bit version works fine.
The text was updated successfully, but these errors were encountered: