Skip to main content

QuerySplunkIndexingStatus

Description

Queries Splunk server in order to acquire the status of indexing acknowledgement.

Tags

acknowledgement, http, logs, splunk

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Scheme *Schemehttps
  • https
  • http
The scheme for connecting to Splunk.
Hostname *HostnamelocalhostThe ip address or hostname of the Splunk server.

Supports Expression Language, using Environment variables.
HTTP Event Collector Port *Port8088The HTTP Event Collector HTTP Port Number.

Supports Expression Language, using Environment variables.
Security ProtocolSecurity ProtocolTLSv1_2
  • TLSv1_2
  • TLSv1_1
  • TLSv1
  • SSLv3
The security protocol to use for communicating with Splunk.
OwnerOwnerThe owner to pass to Splunk.

Supports Expression Language, using Environment variables.
HTTP Event Collector TokenTokenHTTP Event Collector token starting with the string Splunk. For example 'Splunk 1234578-abcd-1234-abcd-1234abcd'

Supports Expression Language, using Environment variables.
UsernameUsernameThe username to authenticate to Splunk.

Supports Expression Language, using Environment variables.
PasswordPasswordThe password to authenticate to Splunk.
Splunk Request Channel *request-channelIdentifier of the used request channel.

Supports Expression Language, using Environment variables.
Maximum Waiting Time *ttl1 hourThe maximum time the processor tries to acquire acknowledgement confirmation for an index, from the point of registration. After the given amount of time, the processor considers the index as not acknowledged and transfers the FlowFile to the "unacknowledged" relationship.
Maximum Query Size *max-query-size10000The maximum number of acknowledgement identifiers the outgoing query contains in one batch. It is recommended not to set it too low in order to reduce network communication.

Dynamic Properties

This component does not support dynamic properties.

Relationships

NameDescription
failureA FlowFile is transferred to this relationship when the acknowledgement was not successful due to errors during the communication. FlowFiles are timing out or unknown by the Splunk server will transferred to "undetermined" relationship.
successA FlowFile is transferred to this relationship when the acknowledgement was successful.
unacknowledgedA FlowFile is transferred to this relationship when the acknowledgement was not successful. This can happen when the acknowledgement did not happened within the time period set for Maximum Waiting Time. FlowFiles with acknowledgement id unknown for the Splunk server will be transferred to this relationship after the Maximum Waiting Time is reached.
undeterminedA FlowFile is transferred to this relationship when the acknowledgement state is not determined. FlowFiles transferred to this relationship might be penalized. This happens when Splunk returns with HTTP 200 but with false response for the acknowledgement id in the flow file attribute.

Reads Attributes

NameDescription
splunk.acknowledgement.idThe indexing acknowledgement id provided by Splunk.
splunk.responded.atThe time of the response of put request for Splunk.

Writes Attributes

This processor does not write attributes.

State Management

This component does not store state.

Restricted

This component is not restricted.

Input Requirement

This component requires an incoming relationship.

System Resource Considerations

This component does not specify system resource considerations.

See Also

PutSplunkHTTP