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

[Auditbeat] Default distribution fails to start on aarch64 #23349

Closed
liza-mae opened this issue Jan 4, 2021 · 15 comments
Closed

[Auditbeat] Default distribution fails to start on aarch64 #23349

liza-mae opened this issue Jan 4, 2021 · 15 comments
Assignees
Labels
Auditbeat bug Team:Elastic-Agent Label for the Agent team Team:Integrations Label for the Integrations team

Comments

@liza-mae
Copy link

liza-mae commented Jan 4, 2021

For confirmed bugs, please report:

  • Version: 7.11.0 BC1
  • Operating System: Ubuntu aarch64
  • Steps to Reproduce:
    Install auditbeat and try to start, observe error
2021-01-03T21:25:57.910Z	INFO	instance/beat.go:437	auditbeat stopped.
2021-01-03T21:25:57.913Z	ERROR	instance/beat.go:971	Exiting: 1 error: metricset 'system/socket' not found

Same thing happens on 7.10.1 so not a regression. The oss distribution works.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jan 4, 2021
@liza-mae liza-mae added the Team:Integrations Label for the Integrations team label Jan 4, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jan 4, 2021
@adriansr
Copy link
Contributor

adriansr commented Jan 5, 2021

You need to disable the socket dataset in the system module. It only works on x86 architectures.

@liza-mae
Copy link
Author

liza-mae commented Jan 5, 2021

Thanks let me try, is it documented or do we need to document this?

@liza-mae
Copy link
Author

liza-mae commented Jan 5, 2021

This is the document I found: https://www.elastic.co/guide/en/beats/auditbeat/7.11/auditbeat-module-system.html - does it make sense to add something about it there?

@andrewkroh
Copy link
Member

We should update the config template to only include the modules that work for arm64. Then the config file will work out of the box.

{{- if eq .GOOS "linux" }}
- socket # Opened and closed sockets

@liza-mae
Copy link
Author

liza-mae commented Jan 5, 2021

Sounds good @andrewkroh

@fearful-symmetry fearful-symmetry self-assigned this Jan 5, 2021
@fearful-symmetry
Copy link
Contributor

This should be an easy fix, I'll see if I can knock it out

@liza-mae
Copy link
Author

liza-mae commented Jan 5, 2021

Thank you @fearful-symmetry - it would be nice if we can get it into 7.11.0 and 7.10.2 upcoming releases.

I already tested removing the system module and auditbeat comes up, having it do so out of the box would be best.

@fearful-symmetry
Copy link
Contributor

@adriansr do we know what parts of the system module do work on aarch64?

@liza-mae
Copy link
Author

liza-mae commented Jan 5, 2021

It may make sense to also update the documentation to say something about Linux aarch64 system module. Thoughts?

The module is fully implemented for Linux. Some datasets are also available for macOS (Darwin) and Windows.

@fearful-symmetry
Copy link
Contributor

Yah, with the coming age of M1 macs, we might want to be more explicit with ARM support

@fearful-symmetry
Copy link
Contributor

Fix here: #23381

Apologies for the delay, my country is struggling with democracy and the news is a tad distracting.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@fearful-symmetry
Copy link
Contributor

I think we're good to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auditbeat bug Team:Elastic-Agent Label for the Agent team Team:Integrations Label for the Integrations team
Projects
None yet
Development

No branches or pull requests

6 participants