-
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
Setting up modules when Logstash is running as a service #8709
Comments
For the Beats pattern to be applied to Logstash, two changes would be required:
|
These are the minimal changes required to deliver an MVP: In 6.0.0 and 6.1.0
In 6.2.0 - 6.x
In 7.0.0
In 8.0.0
|
@ycombinator as discussed yesterday, I think we should add the For deb/rpm running as a service:
For tar/zip standalone: just run /cc @tbragin |
I'm good with this approach. @jordansissel what are you thoughts, since it differs from our original proposal? |
I came across this today, a --setup-and-exit flag would be useful. |
Currently, in order to setup Logstash modules (e.g. netflow), there is a first-time setup command that must be run, like so:
This command creates the necessary artifacts in Elasticsearch and Kibana such as Elasticsearch templates, Kibana visualizations, and Kibana dashboards. It also starts up a Logstash pipeline for the given module, which keeps the Logstash process running.
Thereafter, to create additional pipelines for the given module, the same command sans
--setup
must be invoked:This pattern works well when Logstash is installed as a standalone program, typically from its
.tar.gz
or.zip
build artifact.However, when Logstash is installed as a service, typically from its
.deb
or.rpm
build artifact, this pattern starts to break down. Specifically, with Logstash running as a service, how can the first-time--setup
step be invoked?The text was updated successfully, but these errors were encountered: