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

Feat: New journal_header #3498

Merged
merged 14 commits into from
Aug 25, 2022
Merged

Feat: New journal_header #3498

merged 14 commits into from
Aug 25, 2022

Conversation

TZ3070
Copy link
Contributor

@TZ3070 TZ3070 commented Aug 17, 2022

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

New parser for journal --no-pager --header command

@TZ3070 TZ3070 changed the title New journalctl header Feat: New journalctl header Aug 24, 2022
Xinting Li added 7 commits August 25, 2022 10:21
Signed-off-by: Xinting Li <[email protected]>
Signed-off-by: Xinting Li <[email protected]>
Signed-off-by: Xinting Li <[email protected]>
Signed-off-by: Xinting Li <[email protected]>
Signed-off-by: Xinting Li <[email protected]>
Signed-off-by: Xinting Li <[email protected]>
Signed-off-by: Xinting Li <[email protected]>
Signed-off-by: Xinting Li <[email protected]>
insights/parsers/journalctl.py Outdated Show resolved Hide resolved
insights/parsers/journalctl.py Outdated Show resolved Hide resolved
--------------------------------------------------------------
JournalctlHeader - command ``/usr/bin/journalctl --header``
-----------------------------------------------------------
JournalSinceBoot - file ``/sos_commands/logs/journalctl_--no-pager_--boot``
Copy link
Contributor

Choose a reason for hiding this comment

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

also a command journalctl --no-pager --boot

insights/parsers/journalctl.py Outdated Show resolved Hide resolved
Xinting Li added 2 commits August 25, 2022 14:23
@TZ3070 TZ3070 changed the title Feat: New journalctl header Feat: New journal_header Aug 25, 2022
Signed-off-by: Xinting Li <[email protected]>
@psachin psachin merged commit 5248d64 into RedHatInsights:master Aug 25, 2022
psachin pushed a commit that referenced this pull request Aug 25, 2022
* Feat: New parser for 'journalctl --header' command

Signed-off-by: Xinting Li <[email protected]>

* Update doc string

Signed-off-by: Xinting Li <[email protected]>

* fix: change journalctl_header from parser to datasource

Signed-off-by: Xinting Li <[email protected]>

* move to parser and add filter

Signed-off-by: Xinting Li <[email protected]>

* Fix flake8 errors

Signed-off-by: Xinting Li <[email protected]>

* Fix python2 error

Signed-off-by: Xinting Li <[email protected]>

* fix python2 error

Signed-off-by: Xinting Li <[email protected]>

* Fix assert error

Signed-off-by: Xinting Li <[email protected]>

* Fix error

Signed-off-by: Xinting Li <[email protected]>

* Update doc string

Signed-off-by: Xinting Li <[email protected]>

* fix wrong doc string

Signed-off-by: Xinting Li <[email protected]>

* Change to journal_header

Signed-off-by: Xinting Li <[email protected]>

* change to 'from insights.core import Syslog'

Signed-off-by: Xinting Li <[email protected]>

* update doc string

Signed-off-by: Xinting Li <[email protected]>

Signed-off-by: Xinting Li <[email protected]>
Co-authored-by: Xinting Li <[email protected]>
(cherry picked from commit 5248d64)
xiangce pushed a commit that referenced this pull request Sep 6, 2024
* Feat: New parser for 'journalctl --header' command

Signed-off-by: Xinting Li <[email protected]>

* Update doc string

Signed-off-by: Xinting Li <[email protected]>

* fix: change journalctl_header from parser to datasource

Signed-off-by: Xinting Li <[email protected]>

* move to parser and add filter

Signed-off-by: Xinting Li <[email protected]>

* Fix flake8 errors

Signed-off-by: Xinting Li <[email protected]>

* Fix python2 error

Signed-off-by: Xinting Li <[email protected]>

* fix python2 error

Signed-off-by: Xinting Li <[email protected]>

* Fix assert error

Signed-off-by: Xinting Li <[email protected]>

* Fix error

Signed-off-by: Xinting Li <[email protected]>

* Update doc string

Signed-off-by: Xinting Li <[email protected]>

* fix wrong doc string

Signed-off-by: Xinting Li <[email protected]>

* Change to journal_header

Signed-off-by: Xinting Li <[email protected]>

* change to 'from insights.core import Syslog'

Signed-off-by: Xinting Li <[email protected]>

* update doc string

Signed-off-by: Xinting Li <[email protected]>

Signed-off-by: Xinting Li <[email protected]>
Co-authored-by: Xinting Li <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants