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

feature request: logcli: allow d suffix for --since for days #12952

Open
Kamilcuk opened this issue May 13, 2024 · 0 comments
Open

feature request: logcli: allow d suffix for --since for days #12952

Kamilcuk opened this issue May 13, 2024 · 0 comments
Labels
component/logcli type/feature Something new we should do

Comments

@Kamilcuk
Copy link

Is your feature request related to a problem? Please describe.
In terminal I have to do --since=$((24 * 5))h, which is not readable for longer periods.

Describe the solution you'd like
I think it would be nice to be able to specify days in the --since option as suffix d. 1 day is exactly equal to 24 hours.

Describe alternatives you've considered
The alternative I am using is shell arithmetic to calculate the number of hours.

Additional context
Thanks for loki it's amazing.

@Kamilcuk Kamilcuk changed the title feature request: allow d suffix for --since for days feature request: logcli: allow d suffix for --since for days May 13, 2024
@JStickler JStickler added type/feature Something new we should do component/logcli labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/logcli type/feature Something new we should do
Projects
None yet
Development

No branches or pull requests

2 participants