RunReveal
SourcesSource Types

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:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "kinesis:ListShards",
        "kinesis:GetShardIterator",
        "kinesis:GetRecords"
      ],
      "Resource": "arn:aws:kinesis:[region]:[account-id]:stream/[stream-name]"
    }
  ]
}

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.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "AWS": "arn:aws:iam::253602268883:root"
      },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": {
          "sts:ExternalId": "[external-id-from-runreveal]"
        }
      }
    }
  ]
}

Copy the role's ARN.

3. Connect RunReveal

  1. Go to Sources → Add Source and select Meter.
  2. 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.
  3. 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.
  4. 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

SELECT eventTime, type, network, srcIP, dstIP, alertSignature, packetType
FROM meter_logs
ORDER BY eventTime DESC
LIMIT 10

Polling failures appear under Polling errors.

Event types

typeContents
com.meter.ids.detectionAn IDS alert: the flow's addresses and ports, the matching rule, and flow statistics
com.meter.dhcp.packetOne 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:

ColumnTypeApplies to
meterEventIDStringAll
typeStringAll
networkIDStringAll
networkStringAll
srcMACStringIDS
dstMACStringIDS
flowIDUInt64IDS
appProtoStringIDS
protocolStringIDS
directionStringIDS
detectionTypeStringIDS
alertActionStringIDS
alertGIDUInt32IDS
alertSIDUInt32IDS
alertRevUInt32IDS
alertSignatureStringIDS
alertCategoryStringIDS
alertSeverityUInt32IDS
alertRuleStringIDS
httpHostnameStringIDS
httpURLStringIDS
httpUserAgentStringIDS
httpMethodStringIDS
httpProtocolStringIDS
httpStatusUInt32IDS
httpContentTypeStringIDS
httpLengthUInt64IDS
flowPktsToServerUInt64IDS
flowPktsToClientUInt64IDS
flowBytesToServerUInt64IDS
flowBytesToClientUInt64IDS
flowStartStringIDS
flowEndStringIDS
flowReasonStringIDS
packetTypeStringDHCP
transactionIDUInt32DHCP
clientMACStringDHCP
clientIPStringDHCP
relayIPStringDHCP
vlanIDInt32DHCP

networkID is the Meter network's UUID and network its name. alertSeverity runs from 1 (high) to 3 (low).

On this page