Class CloudTrailTransport
java.lang.Object
org.graylog2.plugin.inputs.transports.ThrottleableTransport
org.graylog2.plugin.inputs.transports.ThrottleableTransport2
org.graylog.aws.inputs.cloudtrail.CloudTrailTransport
- All Implemented Interfaces:
Transport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Field Summary
FieldsFields inherited from class org.graylog2.plugin.inputs.transports.ThrottleableTransport
CK_THROTTLING_ALLOWED, eventBus, throttlingAllowed -
Constructor Summary
ConstructorsConstructorDescriptionCloudTrailTransport(Configuration configuration, Configuration systemConfiguration, ClusterConfigService clusterConfigService, com.google.common.eventbus.EventBus serverEventBus, ServerStatus serverStatus, com.fasterxml.jackson.databind.ObjectMapper objectMapper, URI httpProxyUri, LocalMetricRegistry localRegistry, EncryptedValueService encryptedValueService) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoLaunch(MessageInput input, InputFailureRecorder inputFailureRecorder) voiddoStop()Performs the same purpose asThrottleableTransport.stop()but guarantees that the superclass' actions are performed.com.codahale.metrics.MetricSetvoidlifecycleStateChange(Lifecycle lifecycle) voidsetMessageAggregator(CodecAggregator aggregator) Methods inherited from class org.graylog2.plugin.inputs.transports.ThrottleableTransport2
doLaunch, launchMethods inherited from class org.graylog2.plugin.inputs.transports.ThrottleableTransport
blockUntilUnthrottled, blockUntilUnthrottled, determineIfThrottled, handleChangedThrottledState, isThrottled, launch, stop, updateThrottleState
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
CloudTrailTransport
@Inject public CloudTrailTransport(Configuration configuration, Configuration systemConfiguration, ClusterConfigService clusterConfigService, com.google.common.eventbus.EventBus serverEventBus, ServerStatus serverStatus, com.fasterxml.jackson.databind.ObjectMapper objectMapper, @Named("http_proxy_uri") @Nullable URI httpProxyUri, LocalMetricRegistry localRegistry, EncryptedValueService encryptedValueService)
-
-
Method Details
-
setMessageAggregator
-
lifecycleStateChange
-
doLaunch
public void doLaunch(MessageInput input, InputFailureRecorder inputFailureRecorder) throws MisfireException - Specified by:
doLaunchin classThrottleableTransport2- Throws:
MisfireException
-
doStop
public void doStop()Description copied from class:ThrottleableTransportPerforms the same purpose asThrottleableTransport.stop()but guarantees that the superclass' actions are performed.- Specified by:
doStopin classThrottleableTransport
-
getMetricSet
public com.codahale.metrics.MetricSet getMetricSet()
-