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

Journald source namespace support #16808

Closed
vanyasvl opened this issue Mar 15, 2023 · 0 comments · Fixed by #17648
Closed

Journald source namespace support #16808

vanyasvl opened this issue Mar 15, 2023 · 0 comments · Fixed by #17648
Assignees
Labels
source: journald Anything `journald` source related type: feature A value-adding code addition that introduce new functionality.

Comments

@vanyasvl
Copy link

vanyasvl commented Mar 15, 2023

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

Journald supports namespaces for logs, that can be configured in the system units.
Currently Vector can retrieve only logs in the default journald namespace
To retrieve logs from a particular namespace you can use --namespace namespace_name journalctl option

Attempted Solutions

Add journald_namespace option to journald source config
Pass namespace to journalctl via --namespace command-line option

Proposal

No response

References

No response

Version

No response

@vanyasvl vanyasvl added the type: feature A value-adding code addition that introduce new functionality. label Mar 15, 2023
@fuchsnj fuchsnj added the source: journald Anything `journald` source related label Mar 15, 2023
@dsmith3197 dsmith3197 self-assigned this Jun 8, 2023
dsmith3197 added a commit that referenced this issue Jun 8, 2023
Closes: #16808

<!--
**Your PR title must conform to the conventional commit spec!**

  <type>(<scope>)!: <description>

  * `type` = chore, enhancement, feat, fix, docs
  * `!` = OPTIONAL: signals a breaking change
* `scope` = Optional when `type` is "chore" or "docs", available scopes
https://github.com/vectordotdev/vector/blob/master/.github/semantic.yml#L20
  * `description` = short description of the change

Examples:

  * enhancement(file source): Add `sort` option to sort discovered files
  * feat(new source): Initial `statsd` source
  * fix(file source): Fix a bug discovering new files
  * chore(external docs): Clarify `batch_size` option
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source: journald Anything `journald` source related type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants