6.2.3.5. stop

6.2.3.5.1. Introduction

To view the list of services, please refer to the Introduction section.
The stop command of the services subgroup enables stopping a GCap service although this depends on the current status of these services (see services status command).
By default, the following services are started:

  • The eve-generation service

  • The eve-upload service

  • The file-extraction service

  • The file-upload service


6.2.3.5.2. Prerequisites

  • Users: setup, gviewadm

  • Dependencies: the service must be started in order to stop it


6.2.3.5.3. Command

services stop {eve-generation|eve-upload|file-extraction|file-upload|filter-fileinfo|local-alerts|eve-compress }

Depending on the complement to the services stop command, it is possible to perform different operations.

To stop...

complete the services stop command with...

prerequisites

  • generation of eve logs

  • consequence: file capture stopped

eve-generation

None

  • sending eve logs to GCenter

  • no influence on the generation of logs

eve-upload

None

  • extraction of files by the GCap

file-extraction

None

  • sending the extracted files to the GCenter

  • no influence on the extraction of files

file-upload

None

  • filtering of fileinfos

filter-fileinfo

None

  • displaying alerts

local-alerts

None

  • compression of eve logs on GCap

eve-compress

None


6.2.3.5.4. Example of stopping the generation of eve logs at the GCenter

  • Enter the following command.

    (gcap-cli) services stop eve-generation 
    
  • Validate.
    The system indicates that the eve-generation service is stopping.

    Stopping service eve-generation
    

6.2.3.5.5. Example of stopping the sending of eve logs to the GCenter

  • Enter the following command.

    (gcap-cli) services stop eve-upload
    
  • Validate.
    The system indicates that the eve-upload service is stopping.

    Stopping service eve-upload
    

6.2.3.5.6. Example of stopping the extraction of files

  • Enter the following command.

    (gcap-cli) services stop file-extraction
    
  • Validate.
    The system indicates that the file-extraction service is stopping.

    Stopping service file-extraction
    

6.2.3.5.7. Example of stopping the sending of the extracted files to the GCenter

  • Enter the following command.

    (gcap-cli) services stop file-upload
    
  • Validate.
    The system indicates that the file-upload service is stopping.

    Stopping service file-upload
    

6.2.3.5.8. Example of stopping the filtering of fileinfos

  • Enter the following command.

    (gcap-cli) services stop filter-fileinfo
    
  • Validate.
    The system indicates that the filter-fileinfo service is stopping.

    Stopping services filter-fileinfo
    

6.2.3.5.9. Example of stopping local alerts

  • Enter the following command.

    (gcap-cli) services stop local-alerts
    
  • Validate.
    The system indicates that the local-alerts service is stopping.

    Stopping services local-alerts
    

6.2.3.5.10. Example of stopping the compression of eve logs on the GCap

  • Enter the following command.

    (gcap-cli) services stop eve-compress
    
  • Validate.
    The system indicates that the eve-compress service is stopping.

    Stopping services eve-compress