Skip to content
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

Beat Stats incorrectly reporting CPU Usage #42818

Open
strawgate opened this issue Feb 21, 2025 · 1 comment
Open

Beat Stats incorrectly reporting CPU Usage #42818

strawgate opened this issue Feb 21, 2025 · 1 comment
Labels
needs_team Indicates that the issue/PR needs a Team:* label

Comments

@strawgate
Copy link
Contributor

When running Filebeat in a background job under Bash
filebeat -e -c filebeat.yml & > /dev/null

filebeat.inputs:
- type: filestream
  enabled: true
  paths:
    - ./sample.log
    
output.elasticsearch:
  hosts: ["http://localhost:9200"]

http.enabled: true
http.port: 5070
http.pprof.enabled: true
http.host: 0.0.0.0

When collecting the stats from the process on macos

Image

the stats appears to be showing the cpu total for the parent pid, in this case bash, instead of for itself:
Image

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 21, 2025
@botelastic
Copy link

botelastic bot commented Feb 21, 2025

This issue doesn't have a Team:<team> label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

No branches or pull requests

1 participant