Amazon Web Services protocol configuration options
The Amazon Web Services (AWS) protocol is an outbound/active protocol for IBM® QRadar® that collects AWS CloudWatch Logs, Amazon Kinesis Data Streams, and Amazon Simple Queue Service (SQS) messages.
You can use the Amazon Web Services protocol with either Amazon Kinesis Data Streams, AWS CloudWatch Logs, or Amazon Simple Queue Service (SQS).
Amazon Kinesis Data Streams
The following table describes the protocol-specific parameters for collecting Amazon Kinesis Data Streams with the Amazon Web Services protocol:
Parameter | Description |
---|---|
Protocol Configuration | Select Amazon Web Services from the Protocol Configuration list. |
Authentication Method |
|
Access Key |
The Access Key ID that was generated when you configured the security credentials for your AWS user account. If you selected Access Key ID / Secret Key or Assume IAM Role, the Access Key parameter is displayed. |
Secret Key |
The Secret Key that was generated when you configured the security credentials for your AWS user account. If you selected Access Key ID / Secret Key or Assume IAM Role, the Secret Key parameter is displayed. |
Assume an IAM Role | Enable this option to authenticate with an Access Key or EC2 instance IAM Role. Then, you can temporarily assume an IAM Role for access. |
Assume Role ARN | The full ARN of the role to assume. It must begin with
arn:and can't contain any leading or trailing spaces, or spaces within the ARN. If you enabled Assume an IAM Role, the Assume Role ARN parameter is displayed. |
Assume Role Session Name | The session name of the role to assume. The default is
QRadarAWSSession. Leave as the default if you don't need to change it. This
parameter can contain only upper and lowercase alphanumeric characters, underscores, or any of the
following characters: =,.@- If you enabled Assume an IAM Role, the Assume Role Session Name parameter is displayed. |
Regions | Toggle each region that is associated with the Amazon Web Service that you want to collect logs from. |
AWS Service | From the AWS Service list, select Kinesis Data Streams. |
Kinesis Data Stream |
The Kinesis Data Stream from which to consume data. |
Enable Kinesis Advanced Options | Enable the following optional advanced configuration values. Advanced option values are only
used when this option is chosen; otherwise, the default values are used.
|
Extract Original Event |
Forwards only the original event that was added to the Kinesis Data Stream. Kinesis logs wrap the events that they receive with extra metadata. Select this option if you want only the original event that was sent to AWS without the additional stream metadata through Kinesis. The original event is the value for the message key that is extracted from the Kinesis log. The following Kinesis logs event example shows the original event that is extracted from the Kinesis log in highlighted text:
|
Use As A Gateway Log Source | If you do not want to define a custom log source identifier for events,
clear the checkbox. If you don't select Use As A Gateway Log Source and you don't configure the Log Source Identifier Pattern, QRadar receives events as unknown generic log sources. |
Use Predictive Parsing | If you enable this parameter, an algorithm extracts log source
identifier patterns from events without running the regex for every event, which increases the
parsing speed. Tip: In rare circumstances, the algorithm can make incorrect predictions.
Enable predictive parsing only for log source types that you expect to receive high event rates and
require faster parsing.
|
Log Source Identifier Pattern |
If you selected Use As A Gateway Log Source, you can define a custom log source identifier for events that are being processed and for log sources to be automatically discovered when applicable. If you don't configure the Log Source Identifier Pattern, QRadar receives events as unknown generic log sources. Use key-value pairs to define the custom Log Source Identifier. The key is the Identifier Format String, which is the resulting source or origin value. The value is the associated regex pattern that is used to evaluate the current payload. This value also supports capture groups that can be used to further customize the key. Define multiple key-value pairs by typing each pattern on a new line. Multiple patterns are evaluated in the order that they are listed. When a match is found, a custom Log Source Identifier is displayed. The following examples show multiple key-value pair functions.
|
Use Proxy |
If QRadar accesses the Amazon Web Service by using a proxy, select this option. If the proxy requires authentication, configure the Proxy Server, Proxy Port, Proxy Username, and Proxy Password fields. If the proxy does not require authentication, configure the Proxy IP or Hostname field. |
EPS Throttle |
The upper limit for the maximum number of events per second (EPS). The default is 5000. If the Use As A Gateway Log Source option is selected, this value is optional. If the EPS Throttle parameter value is left blank, no EPS limit is imposed by QRadar. |
AWS CloudWatch Logs
The following table describes the protocol-specific parameters for collecting AWS CloudWatch Logs with the Amazon Web Services protocol:
Parameter | Description |
---|---|
Protocol Configuration | Select Amazon Web Services from the Protocol Configuration list. |
Authentication Method |
|
Access Key |
The Access Key ID that was generated when you configured the security credentials for your AWS user account. If you selected Access Key ID / Secret Key or Assume IAM Role, the Access Key parameter is displayed. |
Secret Key |
The Secret Key that was generated when you configured the security credentials for your AWS user account. If you selected Access Key ID / Secret Key or Assume IAM Role, the Secret Key parameter is displayed. |
Assume an IAM Role | Enable this option by authenticating with an Access Key or EC2 instance IAM Role. Then, you can temporarily assume an IAM Role for access. |
Assume Role ARN | The full ARN of the role to assume. It must begin with
arn:and can't contain any leading or trailing spaces, or spaces within the ARN. If you enabled Assume an IAM Role, the Assume Role ARN parameter is displayed. |
Assume Role Session Name | The session name of the role to assume. The default is
QRadarAWSSession. Leave as the default if you don't need to change it. This
parameter can contain only upper and lowercase alphanumeric characters, underscores, or any of the
following characters: =,.@- If you enabled Assume an IAM Role, the Assume Role Session Name parameter is displayed. |
Regions | Toggle each region that is associated with the Amazon Web Service that you want to collect logs from. |
AWS Service | From the AWS Service list, select CloudWatch Logs. |
Log Group |
The name of the log group in Amazon CloudWatch where you want to collect logs from.
Tip: A single log source collects CloudWatch Logs from one log group at a time. If you want to
collect logs from multiple log groups, create a separate log source for each log group.
|
Enable CloudWatch Advanced Options | Enable the following optional advanced configuration values. Advanced option values are only
used when this option is chosen; otherwise, the default values are used.
|
Extract Original Event |
Forwards only the original event that was added to the CloudWatch Logs. CloudWatch logs wrap the events that they receive with extra metadata. Select this option if you want to collect only the original event that was sent to AWS without the additional stream metadata through CloudWatch Logs. The original event is the value for the message key that is extracted from the CloudWatch log. The following CloudWatch Logs event example shows the original event that is extracted from CloudWatch Logs in highlighted text:
|
Use As A Gateway Log Source | If you do not want to define a custom log source identifier for events,
clear the checkbox. If you don't select Use As A Gateway Log Source and you don't configure the Log Source Identifier Pattern, QRadar receives events as unknown generic log sources. |
Use Predictive Parsing | If you enable this parameter, an algorithm extracts log source
identifier patterns from events without running the regex for every event, which increases the
parsing speed. Tip: In rare circumstances, the algorithm can make incorrect predictions.
Enable predictive parsing only for log source types that you expect to receive high event rates and
require faster parsing.
|
Log Source Identifier Pattern |
If you selected Use As A Gateway Log Source, you can define a custom log source identifier for events that are being processed and for log sources to be automatically discovered when applicable. If you don't configure the Log Source Identifier Pattern, QRadar receives events as unknown generic log sources. Use key-value pairs to define the custom Log Source Identifier. The key is the Identifier Format String, which is the resulting source or origin value. The value is the associated regex pattern that is used to evaluate the current payload. This value also supports capture groups that can be used to further customize the key. Define multiple key-value pairs by typing each pattern on a new line. Multiple patterns are evaluated in the order that they are listed. When a match is found, a custom Log Source Identifier is displayed. The following examples show multiple key-value pair functions.
|
Use Proxy |
If QRadar accesses the Amazon Web Service by using a proxy, select this option. If the proxy requires authentication, configure the Proxy Server, Proxy Port, Proxy Username, and Proxy Password fields. If the proxy does not require authentication, configure the Proxy IP or Hostname field. |
EPS Throttle |
The upper limit for the maximum number of events per second (EPS). The default is 5000. If the Use As A Gateway Log Source option is selected, this value is optional. If the EPS Throttle parameter value is left blank, no EPS limit is imposed by QRadar. |
Amazon Simple Queue Service (SQS)
The following table describes the protocol-specific parameters for collecting Amazon SQS log sources with the Amazon Web Services protocol:
Parameter | Description |
---|---|
Protocol Configuration | Select Amazon Web Services from the Protocol Configuration list. |
Authentication Method |
|
Access Key |
The Access Key ID that was generated when you configured the security credentials for your AWS user account. If you selected Access Key ID / Secret Key or Assume IAM Role, the Access Key parameter is displayed. |
Secret Key |
The Secret Key that was generated when you configured the security credentials for your AWS user account. If you selected Access Key ID / Secret Key or Assume IAM Role, the Secret Key parameter is displayed. |
Assume an IAM Role | Enable this option by authenticating with an Access Key or EC2 instance IAM Role. Then, you can temporarily assume an IAM Role for access. |
Assume Role ARN | The full ARN of the role to assume. It must begin with arn:and can't contain any leading or trailing spaces, or spaces within the ARN. If you enabled Assume an IAM Role, the Assume Role ARN parameter is displayed. |
Assume Role Session Name | The session name of the role to assume. The default is
QRadarAWSSession. Leave as the default if you don't need to change it. This
name can contain only uppercase and lowercase alphanumeric characters, underscores, or any of the
following characters: =,.@- If you enabled Assume an IAM Role, the Assume Role Session Name parameter is displayed. |
Regions | Toggle each region that is associated with the Amazon Web Service that you want to collect logs from. |
AWS Service | From the AWS Service list, select SQS Queue. |
SQS Queue URL | The full URL of the SQS queue to pull data from, starting with
https://, such as
https://sqs.us-east-2.amazonaws.com/1234567890123/CloudTrail_SQS_QRadar.
For more information, see Amazon S3 Event Notifications (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html). |
Extract Original Event | Forwards only the original event that was added to the SQS queue to QRadar, select this option. |
Original Event JSON Element |
When you use this option to extract original event with SQS, the original event might be in a specific JSON element. If so, you must specify the name of the top-level JSON element that contains the original event. This option also unescapes any data that is contained within that element. For example, when the
The unescaped data then appears as this extracted original event:
|
Use As A Gateway Log Source | If you do not want to define a custom log source identifier for events, clear the checkbox.
If you don't select Use As A Gateway Log Source and you don't configure the Log Source Identifier Pattern, QRadar receives events as unknown generic log sources. |
Use Predictive Parsing | If you enable this parameter, an algorithm extracts log source
identifier patterns from events without running the regex for every event, which increases the
parsing speed. Tip: In rare circumstances, the algorithm can make incorrect predictions.
Enable predictive parsing only for log source types that you expect to receive high event rates and
require faster parsing.
|
Log Source Identifier Pattern |
If you selected Use As A Gateway Log Source, you can define a custom log source identifier. This option can be defined for events that are being processed and for log sources to be automatically discovered when applicable. If you don't configure the Log Source Identifier Pattern, QRadar receives events as unknown generic log sources. Use key-value pairs to define the custom Log Source Identifier. The key is the Identifier Format String, which is the resulting source or origin value. The value is the associated regex pattern that is used to evaluate the current payload. This value also supports capture groups that can be used to further customize the key. Define multiple key-value pairs by typing each pattern on a new line. Multiple patterns are evaluated in the order that they are listed. When a match is found, a custom Log Source Identifier is displayed. The following examples show multiple key-value pair functions.
|
Use Proxy |
If QRadar accesses the Amazon Web Service by using a proxy, select this option. If the proxy requires authentication, configure the Proxy Server, Proxy Port, Proxy Username, and Proxy Password fields. If the proxy does not require authentication, configure the Proxy IP or Hostname field. |
EPS Throttle |
The upper limit for the maximum number of events per second (EPS). The default is 5000. If the Use As A Gateway Log Source option is selected, this value is optional. If the EPS Throttle parameter value is left blank, no EPS limit is imposed by QRadar. |