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

Add system level logs for Agent on k8s #24185

Merged
merged 2 commits into from
Feb 24, 2021

Conversation

ChrsMark
Copy link
Member

What does this PR do?

This PR adds system integration to collect system level logs from k8s nodes:

- var/log/auth.log*
- /var/log/secure*
- /var/log/messages*
- /var/log/syslog*

Tested on GKE (ubuntu based nodes) but manual installation of rsyslog is required since it's not there by default:
sudo apt-get -y install rsyslog && sudo service rsyslog start

Why is it important?

So as to collect system level logs from k8s nodes on which Agent runs as Pod.

Related issues

Screenshots

Screenshot 2021-02-23 at 2 37 16 PM

Signed-off-by: chrismark <[email protected]>
@ChrsMark ChrsMark added Team:Integrations Label for the Integrations team kubernetes Enable builds in the CI for kubernetes labels Feb 23, 2021
@ChrsMark ChrsMark self-assigned this Feb 23, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Feb 23, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Feb 23, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #24185 updated

  • Start Time: 2021-02-23T12:42:18.337+0000

  • Duration: 54 min 5 sec

  • Commit: f22b407

Trends 🧪

Image of Build Times

❕ Flaky test report

No test was executed to be analysed.

Copy link
Contributor

@blakerouse blakerouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kubernetes Enable builds in the CI for kubernetes Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants