Skip to content

Add system level logs for Agent on k8s#24185

Merged
ChrsMark merged 2 commits intoelastic:masterfrom
ChrsMark:add_k8s_system_level_logs
Feb 24, 2021
Merged

Add system level logs for Agent on k8s#24185
ChrsMark merged 2 commits intoelastic:masterfrom
ChrsMark:add_k8s_system_level_logs

Conversation

@ChrsMark
Copy link
Copy Markdown
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 <chrismarkou92@gmail.com>
@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
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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
Copy Markdown
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