Meter
Meter exports intrusion detection (IDS) alerts and DHCP events from your networks as CloudEvents. Meter delivers them only to an AWS Kinesis data stream in your account, so RunReveal reads that stream directly. You don't need Firehose, an S3 bucket, or a Lambda.
RunReveal polls the stream every 60 seconds. A new source starts with the last 24 hours of events, or the stream's full retention if that is shorter.
Setup
Setup uses two IAM roles in your AWS account:
- a role Meter assumes to write to the stream, which you create while following Meter's guide
- a role RunReveal assumes to read from the stream, which you create below
1. Send Meter events to Kinesis
Follow Meter's SIEM integration guide to create the Kinesis data stream and Meter's write role, and to enter both in Meter Dashboard. Copy the stream ARN.
If you already send Meter events to Kinesis, for example through Firehose to S3, use the same stream. RunReveal reads it alongside your other consumers.
2. Create a read role for RunReveal
Create an IAM policy that lets RunReveal read the stream:
If the stream uses server-side encryption with a customer managed KMS key, also allow kms:Decrypt on that key.
Streams encrypted with the AWS managed key (aws/kinesis) need nothing extra.
Create an IAM role with that policy attached and the trust policy below. Replace the external ID with the one RunReveal shows when you add the source. It is different from the external ID you gave Meter.
Copy the role's ARN.
3. Connect RunReveal
- Go to Sources → Add Source and select Meter.
- Enter the Kinesis stream ARN and the role ARN. Put the external ID shown on the form in the role's trust policy, or replace it with the value you already used there.
- Click Verify. RunReveal reads a few events from the last hour to confirm access. Use Meter's Send test event button if the stream is quiet.
- Save the source.
Each Kinesis shard allows five read requests per second, shared by every consumer of the stream. RunReveal paces its reads to stay under that and backs off when other consumers are using the capacity.
Verify ingestion
Polling failures appear under Polling errors.
Event types
type | Contents |
|---|---|
com.meter.ids.detection | An IDS alert: the flow's addresses and ports, the matching rule, and flow statistics |
com.meter.dhcp.packet | One DHCP packet: the client's MAC and IP address, relay, and VLAN |
eventTime is the CloudEvents time. srcIP, srcPort, dstIP and dstPort hold the IDS flow's addresses. For
DHCP events, srcIP is the client's IP address.
Schema
The meter_logs view includes RunReveal's normalized columns and these Meter fields:
| Column | Type | Applies to |
|---|---|---|
meterEventID | String | All |
type | String | All |
networkID | String | All |
network | String | All |
srcMAC | String | IDS |
dstMAC | String | IDS |
flowID | UInt64 | IDS |
appProto | String | IDS |
protocol | String | IDS |
direction | String | IDS |
detectionType | String | IDS |
alertAction | String | IDS |
alertGID | UInt32 | IDS |
alertSID | UInt32 | IDS |
alertRev | UInt32 | IDS |
alertSignature | String | IDS |
alertCategory | String | IDS |
alertSeverity | UInt32 | IDS |
alertRule | String | IDS |
httpHostname | String | IDS |
httpURL | String | IDS |
httpUserAgent | String | IDS |
httpMethod | String | IDS |
httpProtocol | String | IDS |
httpStatus | UInt32 | IDS |
httpContentType | String | IDS |
httpLength | UInt64 | IDS |
flowPktsToServer | UInt64 | IDS |
flowPktsToClient | UInt64 | IDS |
flowBytesToServer | UInt64 | IDS |
flowBytesToClient | UInt64 | IDS |
flowStart | String | IDS |
flowEnd | String | IDS |
flowReason | String | IDS |
packetType | String | DHCP |
transactionID | UInt32 | DHCP |
clientMAC | String | DHCP |
clientIP | String | DHCP |
relayIP | String | DHCP |
vlanID | Int32 | DHCP |
networkID is the Meter network's UUID and network its name. alertSeverity runs from 1 (high) to 3 (low).
Helpful links
- Meter SIEM integration technical overview - Meter's event schema
- Configuring the SIEM integration in Meter - Creating the stream and Meter's write role