-
Notifications
You must be signed in to change notification settings - Fork 7
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
pass the original stdin to the program called by sifter #12
Comments
I'm already doing that with the event watch - it passes the Did you want the |
Yes please. Best Regards,
|
Hi darron Im using sifter with consul watch for event and it doesnt seem like the original stdin is passed into the program Im firing events like so
Consul watch command:
I see following output for sifter
testme.sh
The consul_watcher.log shows nothing Am i missing something here? |
Hi @darron Sorry , please disreard my previous comment . I didnt realize how sifter worked, as we have complete bash solution to handle the ltime issue but i'd rather use this. |
@mg03 I see something similar, just getting empty messages. Not sure what I am missing. Its unclear how did you solved your problem. Update: My handler script has the following I see blank lines appearing in watch.log. |
Figured out. The payload is passed as a argument to the script. So I was able to collect it using $1. #!/bin/bash -v |
This still does not work for me. I am using a "key" type watch. I can see the "I am testing" string in watch.log file but not the payload. Everything is getting logged duly under /var/log/messages though. Am I missing anything ? |
pass the original stdin to the program called by sifter, we use the 'Value' field in there.
The text was updated successfully, but these errors were encountered: