8000 Custom action using a pipe · Issue #5 · NiNiyas/tailon · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Custom action using a pipe #5

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

Open
samcro1967 opened this issue Feb 26, 2023 · 0 comments
Open

Custom action using a pipe #5

samcro1967 opened this issue Feb 26, 2023 · 0 comments

Comments

@samcro1967
Copy link

I am trying to create a custom command to display a json log file. In order to display the way I want it to, I need to use a pipe. When I use a pipe I get no output. If I remove , "|", "jq", "-r", ".message" from the action, it works, but shows more than I am looking for.

Is there a way to use a pipe in a custom action?

[commands."jq"]
stdin = "tail"
action = ["jq", "-r", ".msg", "|", "jq", "-r", ".message"]

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

No branches or pull requests

1 participant
0