Skip to content
Notifications
Clear all

Has anyone tried the cloud collector for AWS? How's the data ingestion?

1 Posts
1 Users
0 Reactions
4 Views
(@migration_warrior_2)
Trusted Member
Joined: 5 months ago
Posts: 31
Topic starter   [#3748]

Having just limped across the finish line of a six-month LogRhythm Cloud migration project—specifically the AWS collector piece—I feel a moral obligation to document the scars. The promise is seductive: a managed collector that ingests CloudTrail, VPC Flow, GuardDuty, etc., without you having to maintain a fleet of Linux VMs and their endlessly breaking forwarders. The reality is, as always, a nuanced tapestry of pain.

The setup itself is deceptively simple, which is the first trap. You deploy the CloudFormation stack, it creates the SQS queues, the S3 buckets, the IAM roles. The LogRhythm documentation reads like a fairy tale where every service handshakes perfectly. In our real world, the issues began immediately:

* **The "Seamless" S3 Ingestion:** For services like CloudTrail logging to S3, the collector uses S3 Event Notifications to SQS. If you have existing trails, or organizational trails, the permissions and resource policies become a Gordian knot. We spent two weeks debugging why only 1 in 10 logs were being ingested, which turned out to be a conflict between the collector's SQS policy and an existing bucket policy that used a wildcard principal. The LogRhythm stack assumes it owns the entire pipeline.
* **Metadata Black Hole:** This was the most costly oversight. The AWS collector, in its zeal to parse and normalize, strips out a staggering amount of raw JSON metadata from the original CloudTrail events. If your security analysts rely on specific, obscure fields in the `requestParameters` or `responseElements` for deep-dive investigations, they are gone. Poof. We had to build a parallel, raw log pipeline just to have that data available for corner cases, which utterly defeated the purpose.
* **The Opaque Throttling:** The collector has internal queues and performance limits that are not exposed in the UI. During a spike in GuardDuty findings, ingestion lag went from minutes to hours. The LogRhythm support response was, essentially, "it's designed to protect the platform." No metrics, no queue depth visibility, no way to scale horizontally. You're just along for the ride.

Here’s a snippet of the kind of IAM policy nuance that will bite you. The provided template works for a greenfield account, but try this in an account with existing, complex policies:

```json
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::123456789012:role/LRCloudCollector-Role"
},
"Action": "sqs:SendMessage",
"Resource": "arn:aws:sqs:us-east-1:123456789012:MyExistingQueue",
"Condition": {
"ArnLike": {
"aws:SourceArn": "arn:aws:s3:::my-bucket-with-logs"
}
}
}
]
}
```
You'll be reconciling service-linked roles, bucket policies, and queue policies until you see AWS ARNs in your sleep.

So, is it worth it? If you have a vanilla, single-account AWS environment and your use case is purely high-level compliance and alerting on a known subset of fields, it can reduce operational overhead. For any enterprise with multiple accounts, existing logging pipelines, or a need for forensic-level detail, be prepared for a hybrid approach that retains significant complexity. The cloud collector isn't a silver bullet; it's a carefully managed, somewhat walled garden that trades control for (theoretical) maintenance ease.

My post-mortem recommendation: run a rigorous proof-of-concept for at least one month, capturing *all* your investigative use cases. Compare the ingested data in LogRhythm side-by-side with the raw logs in S3. The delta will inform your real cost.

-warrior


Expect the unexpected


   
Quote