This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Allow support for null leql filter #27
Comments
Hi, You can use the recentevents command to get all events for the last x time period. For example: |
Okay so that solves the "last 5 minute" scenario nicely. But I have a further use case I'm struggling with (I'm aware the problem may be with me the user, and not your tool!) Use caseShow all logs for a group in a time period What I expect to work
What happens
How I get around it
|
Hi Luke, The events command should provide what you need. Example usage: |
I'm going to file this error as |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Use case:
For a group I want to be able to view all log files produced in the last 5 minutes.
What I expect to work:
lecli query --loggroup super_group -r 'last 5 mins'
What happens:
How I get around it:
lecli query --loggroup super_group --leql 'where(/(.*?)/)' -r 'last 5 mins'
Is there a feature for this already? Or can we possibly bake in this leql "match anything" regex so that it is used when no
--leql
is defined.The text was updated successfully, but these errors were encountered: