Initialize the Sophos Central Beat

This guide outlines the steps required to initialize the Sophos Central Beat using the Open Collector.

Prerequisites

  • The Open Collector is installed. If you have not already installed it, follow the instructions in the Open Collector Installation and User Guide, and then return to this topic.

  • The ClientID and ClientSecret keys obtained from the Sophos web console during the steps outlined in Configure Sophos Central.

  • The following port is open:

    Direction

    Port

    Protocol

    Source

    Outbound

    443

    HTTPS

    sophoscentralbeat

The steps outlined in this guide describe the Sophos Central Beat setup process using a Client ID and Client Secret, which are needed to configure Sophos Central Beats for version 7.0.0 and later. If you are currently using Sophos Central Beat version 6.0.3 or earlier, upgrade to Sophos Central Beat version 7.0.0 (or later), along with LRCTL version 6.6.0 (or later).

When upgrading to Sophos Central Beat version 7.0.0 or later, ensure all existing instances are closed before launching a new one. Note that versions 7.0.0 and above are not backward compatible with the 6.x.x series.

Similarly, these steps were updated for LogRhythm SIEM version 7.21. Creating a Sophos Beat instance in the Web Console on a version prior to 7.21 will cause the beat to function incorrectly.

Initialize the Beat via the Web Console (Recommended)

  1. Ensure that the Open Collector Connection to the SIEM (WebUI) setup has been completed.

  2. Ensure that the System Monitor Agent to which you intend to send these logs has been Configured for JSON Parsing.

Use either the Enable JSON Parsing on System Monitor Agents or the Enable JSON Parsing for an Existing System Monitor Agent sections at the above link to configure the System Monitor Agent for JSON Parsing.

  1. Follow the steps outlined in Add a Beat in the Web Console to create the Beat via the Web UI.

Initialize the Beat via Command Line (Legacy)

  1. In the Open Collector, run the following command:

    ./lrctl sophoscentralbeat start
    
  2. Use the Up and Down Arrow keys to select New sophoscentralbeat instance from the list, and then press Enter.

  3. Enter the unique identifier for this sophoscentralbeat instance, and then press Enter.

  4. Enter the ClientID for the Sophos Central beat, and then press Enter.

  5. Enter the ClientSecret for the Sophos Central beat, and then press Enter.

  6. Enter the hostname or IP address of the System Monitor Agent that has been Configured for JSON Parsing, and then press Enter.

Use either the Enable JSON Parsing on System Monitor Agents or the Enable JSON Parsing for an Existing System Monitor Agent sections at the above link to configure the System Monitor Agent for JSON Parsing.

  1. Enter the port on which the System Monitor Agent is configured to listen for JSON data (the default is 5044), and then press Enter.
    The sophoscentralbeat service started message appears.

  2. Check the status of the service to confirm that it’s running:

    ./lrctl sophoscentralbeat status
    
  3. (Optional) Edit the sophoscentralbeat configuration to update the values set above if needed. Ensure that you have all the needed information for each step available as you will need to re-enter it:

    ./lrctl sophoscentralbeat config edit
    

Default Config Values for Sophos Central Beat

S. No.

Field Name

Default Value

1.

period

7s

2.

HeartbeatInterval

1m0s 

3.

HeartbeatDisabled

false

4.

ClientID

User Provided

5.

ClientSecret

User Provided