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

Bug: in case of streams that had no logs in a given time range all streams are returned. #52

Closed
pwilczynskiclearcode opened this issue Jan 22, 2016 · 3 comments
Labels

Comments

@pwilczynskiclearcode
Copy link

I've got streams called a-1, a-2 and using:

awslogs get -s 1m application/run.log a-1

returns all application/run.log logs.

And if I change it to

awslogs get -s 10m application/run.log a-1

Only logs from a-1 are returned.

It seems that awslogs or boto/AWS returns all logs if stream regexp doesn't mach any entries.

@pwilczynskiclearcode pwilczynskiclearcode changed the title Bug: in case of streams with a - in a name stream filtering doesn't work. Bug: in case of streams that had no logs in a given time range all streams are returned. Jan 22, 2016
@chadxz
Copy link

chadxz commented Feb 2, 2016

I ran into this the other day. was very confused by the behavior. Good to know I'm not crazy.

@nathanleiby
Copy link
Contributor

+1 this is a confusing behavior

@nathanleiby
Copy link
Contributor

Opened a PR for this issue: #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants