public static class AwsBehavior.ParseAndWindow extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<String>,org.apache.beam.sdk.values.PCollection<Event>>
PCollection
containing events as strings and emit a PCollection
of Event
objects after filtering out events that are not Cloudtrail
events
The output is windowed in the global window with a trigger which fires every 10 seconds.
Constructor and Description |
---|
ParseAndWindow(AwsBehavior.AwsBehaviorOptions options)
Static initializer for
AwsBehavior.ParseAndWindow using specified pipeline options |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.values.PCollection<Event> |
expand(org.apache.beam.sdk.values.PCollection<String> col) |
public ParseAndWindow(AwsBehavior.AwsBehaviorOptions options)
AwsBehavior.ParseAndWindow
using specified pipeline optionsoptions
- Pipeline optionsCopyright © 2022. All rights reserved.