-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Promtail not working in dry-run mode #1900
Comments
You need at least an url for dry-run try
Are you using linux ? if so careful with the issue below. I think @slim-bean will release a 1.4.1 |
Yes, I am using Linux. I have tried adding in a |
You don’t need netcat, the url is just there to show you to which server it
will send, but won’t send anything.
Single dash should work, it won’t work on windows either we need to give
you a new binary there’s a bug in 1.4.0 which will be fixed in 1.4.1 today
or tomorrow.
Le lun. 6 avr. 2020 à 12:35, aronneagu <[email protected]> a écrit :
… Yes, I am using Linux. I have tried adding in a -client.url localhost:8080
(with netcat listening on that port) but no luck. I will try on Windows and
report back.
By the way, do the cli arguments need one
dash or two dashes? promtail - h shows args with one dash
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1900 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIBF3ILB3UG35OM4MYPVJDRLIAGZANCNFSM4MCNHF3Q>
.
|
Awesome, looking forward for the new release. Thanks for the lightning fast replies You are doing an amazing work with loki and promtail. |
…rafana#1618 (grafana#1900) Signed-off-by: Samiur Arif <[email protected]>
Describe the bug
Running promtail with dry-run arguments expects a client to be configured
To Reproduce
Steps to reproduce the behavior:
cat eventrouter.log | ./promtail -config.file promtail.yaml -dry-run
Expected behavior
Expected to see the log line how it will be passed to loki
Environment:
Screenshots, Promtail config, or terminal output
I took the instructions from the releases page, for v 1.4.0, but maybe I am missing something. I would have expected promtail to just parse the input and output what would be fed to loki, but without actually configuring any loki clients
The text was updated successfully, but these errors were encountered: