Issues piping aws logs tail --follow to another command. #7804
Closed
EliasToftHansen
started this conversation in
General
Replies: 1 comment 1 reply
-
For anyone interrested, aws logs tail with the --follow option sends log lines to STDERR, so to pipe the loglines into another app you must use |&. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to pipe the output of 'aws logs tail' with the --follow option to another command, but it doesn't seem to work as I intended.
If I do something like
aws logs tail --follow | cat
I would expect to see more or less the same output as without the pipe to cat, but I see nothing. Not sure what the issue is. I usually pipe stuff around from tail -f etc without issues.
Beta Was this translation helpful? Give feedback.
All reactions