-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
lack of logging running as service on Ubuntu #1734
Comments
@ruflin this is the issue I hit again. Now I'm on 5.0 alpha4 I install the deb package on Ubuntu and start the service. The journal only has a line saying it started the service;
And there's no logs;
Why don't I have any beats indexes in Elasticsearch? It's because I didn't set the auth config parameters. What do I have to do to see messages about that?
Once I change that from the default
I think it would be much more user friendly if we caught that 401 and logged it at error level so it would show up without having to change the log level. Or, change the default log level from error to |
Yeah, agreed that we should. I still don't like that that is an INFO and not an ERR, but we can fix it either way. I'll take this one. |
@tsg I would suggest to fix both. Make the above and ERR and switch to INFO by default. |
This is part of elastic#1931 and fixes elastic#1734. Some things to note/discuss: * `-v` does nothing by default now. However, it's possible that you set it to error in the config file and then use -v to go back to info level at the CLI. So I kept the option. * the `logging.level: debug` from the default configuration also doesn nothing now, unless you also specify some selectors. So I added also a `logging.selectors: ["*"]` to the default short config. * While not all of elastic#1931 is done yet, I think we can proceed with the default level change to fix elastic#1734 and then we do more INFO/WARN cleanups in future PRs.
This is part of #1931 and fixes #1734. Some things to note/discuss: * `-v` does nothing by default now. However, it's possible that you set it to error in the config file and then use -v to go back to info level at the CLI. So I kept the option. * the `logging.level: debug` from the default configuration also doesn nothing now, unless you also specify some selectors. So I added also a `logging.selectors: ["*"]` to the default short config. * While not all of #1931 is done yet, I think we can proceed with the default level change to fix #1734 and then we do more INFO/WARN cleanups in future PRs.
Please post all questions and issues on https://discuss.elastic.co/c/beats
before opening a Github Issue. Your questions will reach a wider audience there,
and if we confirm that there is a bug, then you can open a new issue.
For confirmed bugs, please report:
don't put elasticsearch username and password in packetbeat.yml file
I started and stopped packetbeat service several times. It never created an index, but it also didn't log anything about the problem. It also fails to stop nicely;
After I
cp /etc/topbeat/topbeat.full.yml /etc/topbeat/topbeat.yml
and set the username and password, packetbeat does create an index and loads docs.And now it stops quickly and without timeouts.
Expected Result: packetbeat logs much more information including errors about authentication errors connecting to elasticsearch.
The text was updated successfully, but these errors were encountered: