Skip to content

Add support for bunyan logging #3153

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

Closed
peterdenham opened this issue Feb 22, 2025 · 1 comment
Closed

Add support for bunyan logging #3153

peterdenham opened this issue Feb 22, 2025 · 1 comment

Comments

@peterdenham
Copy link
Contributor




Is your feature request related to a problem? Please describe.
Bunyan is a Node.js logging library that outputs JSON for logs. In plain text, these logs are difficult to read using the k9s log viewer.

Describe the solution you'd like
Provide a plugin that runs Bunyan formatted logs through the Bunyan cli to provide a clean and structured log output.

Describe alternatives you've considered
There is a jq formatter plugin that does improve the formatting somewhat, but it's not as concise and cleanly formatted as Bunyan is at formatting it's own logging structure.

Additional context

derailed pushed a commit that referenced this issue Mar 11, 2025
* Create log-bunyan.yaml

* Update log-bunyan.yaml

* Add bunyan to readme

* Add install link for bunyan

* fix plugin names

* update available views
@derailed
Copy link
Owner

@peterdenham Thank you for the update Peter!

@derailed derailed mentioned this issue Mar 12, 2025
tmeijn pushed a commit to tmeijn/dotfiles that referenced this issue Mar 12, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [derailed/k9s](https://github.com/derailed/k9s) | patch | `v0.40.7` -> `v0.40.8` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>derailed/k9s (derailed/k9s)</summary>

### [`v0.40.8`](https://github.com/derailed/k9s/releases/tag/v0.40.8)

[Compare Source](derailed/k9s@v0.40.7...v0.40.8)

<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/k9s.png" align="center" width="800" height="auto"/>

### Release v0.40.8
#### Notes

Thank you to all that contributed with flushing out issues and enhancements for K9s!
I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev
and see if we're happier with some of the fixes!
If you've filed an issue please help me verify and close.

Your support, kindness and awesome suggestions to make K9s better are, as ever, very much noted and appreciated!
Also big thanks to all that have allocated their own time to help others on both slack and on this repo!!

As you may know, K9s is not pimped out by corps with deep pockets, thus if you feel K9s is helping your Kubernetes journey,
please consider joining our [sponsorship program](https://github.com/sponsors/derailed) and/or make some noise on social! [@&#8203;kitesurfer](https://twitter.com/kitesurfer)

On Slack? Please join us [K9slackers](https://join.slack.com/t/k9sers/shared_invite/enQtOTA5MDEyNzI5MTU0LWQ1ZGI3MzliYzZhZWEyNzYxYzA3NjE0YTk1YmFmNzViZjIyNzhkZGI0MmJjYzhlNjdlMGJhYzE2ZGU1NjkyNTM)

#### Maintenance Release!

#### Videos Are In The Can!

Please dial [K9s Channel](https://www.youtube.com/channel/UC897uwPygni4QIjkPCpgjmw) for up coming content...

-   [K9s v0.40.0 -Column Blow- Sneak peek](https://youtu.be/iy6RDozAM4A)
-   [K9s v0.31.0 Configs+Sneak peek](https://youtu.be/X3444KfjguE)
-   [K9s v0.30.0 Sneak peek](https://youtu.be/mVBc1XneRJ4)
-   [Vulnerability Scans](https://youtu.be/ULkl0MsaidU)

***

#### Resolved Issues

-   [#&#8203;3193](derailed/k9s#3193) Feature Request: View aliases with custom columns
-   [#&#8203;3192](derailed/k9s#3192) Allow readonly indicator respect the noIcons configuration
-   [#&#8203;3153](derailed/k9s#3153) Add support for bunyan logging

***

#### Contributed MRs

Please be sure to give `Big Thanks!` and `ATTA Girls/Boys!` to all the fine contributors for making K9s better for all of us!!

-   [#&#8203;3186](derailed/k9s#3186) fix: allow absolute paths for the 'dir' command
-   [#&#8203;3152](derailed/k9s#3152) Feat: Add plugin support for parsing logs with bunyan cli [#&#8203;3153](derailed/k9s#3153)

<img src="https://raw.githubusercontent.com/derailed/k9s/master/assets/imhotep_logo.png" width="32" height="auto"/> © 2025 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE5NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
svanharmelen pushed a commit to svanharmelen/k9s that referenced this issue Mar 16, 2025
… (derailed#3152)

* Create log-bunyan.yaml

* Update log-bunyan.yaml

* Add bunyan to readme

* Add install link for bunyan

* fix plugin names

* update available views
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

No branches or pull requests

2 participants