F5 APM
This pack includes Cortex XSIAM content.
Configuration on Server Side
Follow the below workflow to configure F5 APM to forward logs in Syslog format.
Creating a pool of remote logging servers
Create a pool of remote log servers which will include the IP address of the Broker VM.
- Navigate to Local Traffic > Pools.
- Click Create.
- In the Name field, type "XSIAM".
- Using the New Members setting, add the IP address for the Broker VMs that you want to include in the pool:
- Type an IP address in the Address field, or select a node address from the Node List.
- Type a service number in the Service Port field, or select a service name from the list.
- Click Add.
- Click Finished.
Creating a remote high-speed log destination
Create a log destination of the Remote High-Speed Log type to specify that log messages are sent to a pool of remote log servers.
- Navigate to System > Logs > Configuration > Log Destinations.
- Click Create.
- In the Name field, type "XSIAM".
- From the Type list, select Remote High-Speed Log.
- From the Pool Name list, select the pool of remote log servers that you created in the previous step, called "XSIAM".
- From the Protocol list, select the protocol used by the high-speed logging pool members.
- Click Finished.
Creating a formatted remote high-speed log destination
Create a formatted logging destination to specify that log messages are sent to a pool of remote log servers.
- Navigate to System > Logs > Configuration > Log Destinations.
- Click Create.
- In the Name field, type "XSIAM".
- From the Type list, select Remote Syslog.
- From the Syslog Format list, select a format for the logs.
- From the High-Speed Log Destination list, select the destination that you created in the previous step.
- Click Finished.
Creating a publisher
Create a publisher to specify where the BIG-IP system sends log messages for specific resources.
- Navigate to System > Logs > Configuration > Log Publishers.
- Click Create.
- In the Name field, type "XSIAM".
- For the Destinations setting, select a destination from the Available list, and click
**<<**
to move the destination to the Selected list. - Click Finished.
Configuring log settings for access system and URL request events
Create log settings to enable event logging for access system events or URL filtering events or both.
- Navigate to Access > Overview > Event Logs > Settings.
- Click Create for a new APM log setting.
- In the Name field, type "XSIAM".
- Select both of the following options:
- Enable access system logs
- Enable URL request logs
- To configure settings for access system logging, select Access System Logs from the left pane.
- For access system logging, from the Log Publisher list, select the log publisher you created in the previous step.
- Make sure that the log level for the access system logging is left as Notice (default).
- To configure settings for URL request logging, select URl Request Logs from the left pane.
- For URL request logging, from the Log Publisher list, select the log publisher you created in the previous step.
- Select all of the following options:
- Log Allowed Events
- Log Blocked Events
- Log Confirmed Events
- Assign the log setting you have created to the access profiles you want their logs to be sent to Cortex XSIAM.
- Select Access Profiles from the left pane.
- Move access profiles between the Available and the Selected lists.
- Click OK.
Configuring remote syslog entries to use ISO timestamp format
- Formal documentation for ISO timestamp configuration doc.
- Log in to tmsh by typing the following command:
```bash
tmsh
2. To define the desired **syslog** filter that references the remote server, type the following command:
bash
edit /sys syslog all-properties
3. Within the **include** statement, insert the following lines:
bash
options { proto-template(t_isostamp); };
template t_isostamp { template(\"$ISODATE $HOST $MSGHDR$MSG\n\"); };
destination d_remote_loghost {
tcp(\"10.10.10.1\" port(514) template(t_isostamp));
};
4. Exit the text editor by pressing Esc to leave Insert mode and then type the following key sequence:
bash
:wq!
5. At the following prompt, type **y** to save the changes to the file.
6. Save the configuration by typing the following command:
bash
save /sys config
```
Pay Attention:
Timestamp ingestion is only supported for the suggested ISO timestamp format to implement for F5 APM logs- YYYY-MM-DDThh:mm:ssTZ.
For more information, refer to F5 BIG-IP APM formal docs.
Note:
Consider suppressing sending SSL access and request messages to remote syslog servers.
Collect Events from Vendor
In order to use the collector, use the Broker VM option.
Broker VM
To create or configure the Broker VM, use the information described here.
You can configure the specific vendor and product for this instance.
- Navigate to Settings > Configuration > Data Broker > Broker VMs.
- Go to the apps tab and add the Syslog app. If it already exists, click the Syslog app and then click Configure.
- Click Add New.
- When configuring the Syslog Collector, set the following values:
- vendor as f5
- product as apm