Skip to content
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

Command line options aren't available when using init.d script to start Beats #812

Closed
dedemorton opened this issue Jan 22, 2016 · 6 comments
Assignees
Labels

Comments

@dedemorton
Copy link
Contributor

Based on the discussion here, we need to clarify the Beats documentation:

  • Make it clear that the command line options aren't supported if you are using the init.d script. Maybe it would be enough to show the full command line: sudo /usr/bin/topbeat -c ....
  • Possibly update the getting started documentation to show that there is another way to start Topbeat so that you can pass in command line options (need to balance this with desire to avoid making the getting started too long)
  • Not related, but I think the section should be called "Starting Topbeat" (not "Running Topbeat") and there should also be a section called "Stopping Topbeat".
@dedemorton dedemorton self-assigned this Jan 22, 2016
@urso
Copy link

urso commented Jan 22, 2016

  1. TBH, I wouldn't expect init scripts to pass additional CLI parameters to the service. But then Sys-V init system can be quite inconsistent.

Plus, most systems switching to systemd.

  1. starting the beat in foreground in getting started sounds good. Maybe show how to start in debug mode -d "*" for checking configuration works.

@dedemorton
Copy link
Contributor Author

@urso That's a good point. Maybe the real solution here is beefing up the documentation around debugging.

@Adron
Copy link
Contributor

Adron commented Jan 22, 2016

👍 to beefing up the debugging documentation. I made the mistake of attempting to pass parameters to the init script - and realized only after getting an answer that I should pass them to the executable. I've run into that in a few places myself where I stumble through debugging. Leading to these two postings I made:

I'm game for contributing to the docs too, but am curious about some guidance where a "debugging" section may go. I've submitted some PRs already regarding some of the Getting Started sections for the various Beats too.

@dedemorton
Copy link
Contributor Author

@Adron Thanks for your interest in contributing to the doc. If you have content that you'd like to see in the doc, it would be best at this point to open an issue against the doc and include the details that you'd like to see added. I'm in the process of making some structural changes and expanding the Beats reference guides to include more guidance info (around things like debugging, performance tuning, and so on). I wouldn't want you to spend time duplicating effort on something I already have underway. But of course, any form of contribution is welcome.

@Adron
Copy link
Contributor

Adron commented Jan 27, 2016

That's excellent @dedemorton. I'll try to grab a little time this week and put a list of things that would be helpful together and open an issue as you've mentioned. I'm guessing it'll be a day or two, but I'll at least try to put together a list of things I'd like to see in the docs. 👍

@dedemorton
Copy link
Contributor Author

Closing in favor of tracking this issue in #2482

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

No branches or pull requests

3 participants