Skip to main content
Skip table of contents

Open Collector Installation Tips

Configuration

Each configurable service can be changed manually. After changing a configuration, restart the service for the changes to take effect.

  • To edit existing configuration values for the service, run the following command:

    CODE
    ./lrctl <service> config edit
  • To remove all configuration for the service, run the following command:

    CODE
    ./lrctl <service> config remove
    You will be prompted for new configuration values the next time the service is started.

Usage and Shorthand

All commands and sub-commands have the --help flag that shows all flags, sub-commands, and aliases. For example:

CODE
./lrctl --help
./lrctl oc --help

Many commands have shorthand to reduce keystrokes:

Shorthand Examples

CommandShorthand
./lrctl open-collector start
./lrctl oc start
./lrctl eventhubbeat start
./lrctl ehb start

Logging and Service Output

To view the logs for each service, run the following command:

CODE
./lrctl <service> logs


Service Interaction

To start a service, run the following command:

CODE
./lrctl <service> start

To stop a service, run the following command:

CODE
./lrctl <service> stop

To restart a service, run the following command:

CODE
./lrctl <service> restart
The restart command is equivalent to calling stop and start in sequence.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.