awslogs icon indicating copy to clipboard operation
awslogs copied to clipboard

Adding command line argument to disable listing of all log streams

Open Miksu82 opened this issue 4 years ago • 2 comments

In case where there are many many log streams, iterating through all of them takes forever which makes the stream argument useless if exact stream name is known.

This PR adds a new command line parameter to indicate that the stream parameter is exact match and awslogs shouldn't iterate through all streams.

I also considered an option where first an exact match would be tried and if found use that instead of iterating. But that would be a breaking backward compatibility so I decided to use a flag.

Miksu82 avatar Oct 01 '20 09:10 Miksu82

Coverage Status

Coverage decreased (-0.2%) to 91.579% when pulling 3b0154e9ce1faf25232b28eeb81b1c67ffbf6497 on Miksu82:master into 0886184d72acb57dfde6020fad41ec908a32806e on jorgebastida:master.

coveralls avatar Oct 01 '20 09:10 coveralls

@jorgebastida Please consider merging this PR, is there anything else needed to move it forward?

mschfh avatar Apr 24 '24 23:04 mschfh