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

logcli query --since: support absolute times #724

Closed
srstsavage opened this issue Jul 8, 2019 · 0 comments · Fixed by #736
Closed

logcli query --since: support absolute times #724

srstsavage opened this issue Jul 8, 2019 · 0 comments · Fixed by #736
Labels
component/logcli type/feature Something new we should do

Comments

@srstsavage
Copy link
Contributor

It would be nice if logcli query's --since option supported absolute dates as well as relative durations. For example, using an ISO 8601 time string:

logcli query --since=2019-07-08T14:53Z -t '{label="somevalue"}'

or epoch:

logcli query --since=1562622455 -t '{label="somevalue"}'

Could use a different option name if it's too difficult to parse relative durations and absolute times using the same option.

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

Successfully merging a pull request may close this issue.

2 participants