awslogs icon indicating copy to clipboard operation
awslogs copied to clipboard

Automatically watch new streams while watching group

Open beingmohit opened this issue 5 years ago • 11 comments

If you start watching a group, and a new stream is created within in, it does not show its logs. you have to exit command and re run to see new logs.

beingmohit avatar Sep 19 '18 08:09 beingmohit

Also running into this. Thought --watch was supposed to continue reading the logs.

trevorglick avatar Oct 10 '18 18:10 trevorglick

Seems like it should be pretty straightforward to poll for new streams. I might take a crack at it.

jeffnappi avatar Jan 28 '19 19:01 jeffnappi

@jorgebastida do you know if there's duplicate issues/PRs for this? If not I can probably contribute this - I need/want it :)

jeffnappi avatar Jan 28 '19 19:01 jeffnappi

I need it too! I'm working on an Elasticsearch ingestor using awslogs

nutellinoit avatar Jan 29 '19 16:01 nutellinoit

@nutellinoit What would be the advantage of using awslog versus regular lamdba and filter?

cykl avatar Jan 29 '19 19:01 cykl

@cykl We used lambda for a couple of days, the problem is running costs. If a service goes crazy and the elasticsearch hard disk fills up, you can pay $ 100 a day without realizing it

nutellinoit avatar Jan 30 '19 08:01 nutellinoit

Is anyone working on adding this feature? It would be super cool to see this :-)

dersteve avatar Mar 19 '19 14:03 dersteve

I am going to bite the bullet and try to submit a patch for this in the following weeks

jorgebastida avatar Apr 12 '19 17:04 jorgebastida

What about https://github.com/jorgebastida/awslogs/pull/196?

blueyed avatar Apr 12 '19 18:04 blueyed

@jorgebastida did you have any chance to look at this?

Anntoin avatar Aug 13 '19 21:08 Anntoin

any updates here ?

haarchri avatar Mar 19 '21 20:03 haarchri