Configure the Okta System Log Beat Log Source in SIEM
This section provides instructions for configuring the Okta System log source in the LogRhythm SIEM using the log source virtualization template.
The Open Collector sends the output of every Beat to the Agent in a single syslog stream. The parent log source is a generic type: "Syslog - Open Collector." A log source virtualization template included with the LogRhythm Knowledge Base (KB) creates child log sources for each beat.
Prerequisites
- LogRhythm Client Console
- LogRhythm Administrator Account
Open the following port:
Direction
Port
Protocol
Source
Outbound 443 HTTPS OktaBeat - Download the latest KB .lkb file:
- From a computer with Internet access, log on to the LogRhythm Community.
- On the menu at the top of the screen, select Documentation & Downloads.
- Go to the KB tab, and then select Request KB File.
- Enter the correct License ID, Deployment ID and
- Save the Knowledge Base .lkb file and transfer it to the computer on which the Knowledge Base is being updated.
Step 1: Import the Knowledge Base
To import the latest downloaded KB:
In the Client Console, from the Tools menu, select Knowledge, and then select Knowledge Base Manager.
The Deployment Manager must be closed to access the Knowledge Base Manager.The Knowledge Base Manager appears.
- From the Knowledge Base Manager, click File, then click Import Knowledge Base File.
- Select the latest downloaded Knowledge Base .lkb file, and click OK.
The Knowledge Base Import Wizard appears and starts unpacking and validating the Knowledge Base file. The file is checked for compatibility with your current deployment and is prepared for import. This may take several minutes. Upon completion, the Unpack Progress: Knowledge Base unpacked message appears. - To import the Knowledge Base, click Next.
Upon completion, the Import Progress Import Completed message appears. - Click OK.
The Knowledge Base Updated message appears. - Click OK.
On the Knowledge Base Import Wizard, click Close.
Step 2: Verify the Log Source Virtualization Template
In the Client Console, on the main toolbar, click Deployment Manager.
- On the Tools menu, select Administration, and click Log Source Virtualization Template Manager.
Verify that the Open Collector template is there in the Log Source Virtualization Template Manager, and verify the number of virtual log sources.
- In the lower-left corner click Virtual Log Source Manager, and verify that the virtual log sources you need are on the list.
These log sources must be on the list:- Syslog - Open Collector - Okta System Log
- Syslog - Open Collector - OktaSystemLogBeat Heartbeat
Click OK.
The Virtual Log Sources are available and verified.- Click Close.
Step 3: Configure the Syslog Relay
This step explains how to configure the Syslog Relay. The Open Collector needs Syslog Relay for the following reasons:
- By default, the agent timestamps syslog messages as they come in. The timestamp in the SIEM should reflect when the log was generated, not when the agent received this log.
- An additional Syslog Relay Regular Expression is required to correctly extract the timestamp.
Beats configured using the JSON parsing method should use the regex relay outlined in the Configure Beats for JSON Parsing topic and skip this step.
To configure the Syslog Relay:
- Go to the System Monitors tab.
- Double-click the agent to which you will send the Open Collector syslog.
- Go to the Syslog and Flow Settings tab.
- Select the Enable Syslog Server check box, if it is not already selected.
- Type the Open Collector IP Address in the Syslog Relay Hosts field on the left.
Type the following regular expression as the first line in Syslog Relay Regular Expressions:
CODE^<(?<priority>\d{1,3})>\s*(?<message>(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})T(?<hour>\d{2}):(?<minute>\d{2}):(?<seconds>\d{2})(\.(?<ms>\d+))?Z?[-+]?[0-9:]{0,}\s.*)
- Click OK.
Here is an example of a configured Syslog Relay, where the Open Collector IP address is 10.3.0.1.
Step 4: Accept the Pending Log Source
After Open Collector logs are sent to the Windows System Monitor Agent, you need to accept the pending log source.
- Click the Log Sources tab.
- In the New Log Sources grid, select the Action check boxes for the following:
Log Source Type. Syslog - Open Collector
Do not select the Okta System Log - specific log source types yet. You will do that in a later step.
Log Processing Policy. LogRhythm Default
Right-click the selection, click Actions, and then click Accept.
Select one of the following:
- Customize and change the following as needed:
Collection System Monitor Entity
Log Message Processing Settings
Log Data Management and Processing Settings
Silent Log Message Source Settings
Default to select customized defaults that were previously selected.
Select a default batch amount between 100 and 5000.
- Customize and change the following as needed:
- Click OK.
- Click Refresh to see the newly accepted Log Source in the grid.
Step 5: Apply the Log Source Virtualization Template for Okta System Log Messages
Use the log source virtualization template included in the KB imported in Step 1 to create a log source specifically for Okta System logs.
Double-click the newly accepted Open Collector Log Source.
The Log Message Source Properties window appears.Go to the Log Source Virtualization tab.
Select the Enable Virtualization check box.
Click Create Virtual Log Sources.
The Create Virtual Log Sources dialog box appears.From the Log Source Virtualization Template menu, select Syslog - Open Collector - Okta System Log.
- Click Save.
The confirmation prompt appears. - Click OK.
New Log Sources appear in the grid as children of your parent log source.
Step 6: Apply the Log Source Virtualization Template for Okta System Log Beat Heartbeat Messages
Use the log source virtualization template Included in the KB imported in Step 1 to create a log source specifically for Okta System Log Beat heartbeat logs.
This step is not required for beats configured using the JSON Parsing method that have had Long-Running LRCTL configured so that their heartbeat status can be monitored in the Beats Grid in the Web Console UI.
- Double-click the newly accepted Open Collector Log Source.
The Log Message Source Properties window appears. - Go to the Log Source Virtualization tab.
- Select the Enable Virtualization check box.
- Click Create Virtual Log Sources.
The Create Virtual Log Sources dialog box appears. - In the Log Source Virtualization Template menu, select Syslog - Open Collector - OktaSystemLogBeat Heartbeat.
- Click Save.
The confirmation prompt appears. - Click OK.
New Log Sources appear in the grid as children of your parent log source.
Step 7: (Optional) Enable Silent Log Source Detection
Silent Log Source Detection tells you when one of your log sources has stopped reporting logs.
- Double-click a child log source—for example, Syslog - Open Collector - Okta System Log.
The Virtual Log Message Source Properties window appears. - Go to the Additional Settings tab.
- Select the Enable Silent Log Source Detection check box.
- Configure warning and error intervals. LogRhythm recommends warning after 1 hour and error after 2 hours.
- Search for LogRhythm Silent Log Source Error and ensure the value in the Status column is Enabled.