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

Graylog should log which packaging was used to install it #1530

Closed
kroepke opened this issue Nov 3, 2015 · 3 comments
Closed

Graylog should log which packaging was used to install it #1530

kroepke opened this issue Nov 3, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@kroepke
Copy link
Member

kroepke commented Nov 3, 2015

We want to be able to more easily see from log files which packaging option (rpm, deb, OVA, tarball, docker etc) was used to install Graylog to assist in common tuning and config issues.

Proposal is that the packages and other pre-made deployment options write an extra file next to the config file which will contain the string identifying the method used to install Graylog.

@kroepke kroepke added this to the 1.3.0 milestone Nov 3, 2015
@joschi
Copy link
Contributor

joschi commented Nov 3, 2015

I'd suggest simply setting a string configuration value via environment variable.

Since every flavor of our distribution packages come with a specific start/stop script, this is more straight forward and will even work if people change their setup "source" during the lifetime of a cluster (e. g. from tarball to DEB package).

@bernd
Copy link
Member

bernd commented Nov 4, 2015

This also needs to work for all of the different appliances, not only operating system packages. (OVA, OpenStack, Docker) We also want information about the different appliance deployment methods.

Can this be incorporated into the appliance builds? /cc @mariussturm

For the manual setup via tarball we add this to the graylogctl script?

If that works, go ahead. Good idea! 👍

@joschi
Copy link
Contributor

joschi commented Nov 4, 2015

Can this be incorporated into the appliance builds?

We can override configuration settings via environment variables, so this shouldn't be a problem for the Docker image or or the OVA.

For the manual setup via tarball we add this to the graylogctl script?

Yes, simply set an environment variable there.

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