Admin Manual

 


How Splunk Works
Transaction Types

Transaction types via configuration files

This documentation does not apply to the most recent version of Splunk. Click here for the latest version.

Transaction types via configuration files

Configure transaction types by creating a custom transactiontypes.conf. Write your copy to $SPLUNK_HOME/etc/bundles/local or your own custom bundle directory.


Configuration

Define transactions by creating a stanza and listing specifications for each transaction within its stanza. Use the transaction command in Splunk Web to call your defined transaction (by its transactiontype name) and override specifications.


[$TRANSACTIONTYPE]

maxspan = [s|m|h|d]

maxpause = [s|m|h|d]

maxrepeats = <int>

fields = <comma-separated list of fields>

exclusive = <boolean>

aliases = <comma-separated list of alias=event_type>

pattern = <regular expression-like pattern>

match = (closest)

Example

[default]
maxspan = 5m
maxpause = 2s
match = closest
[purchase]
aliases = A=login, B=purchase, C=logout
pattern = A, B, C
maxspan = 10m
maxpause = 5m
fields = userid

This documentation applies to the following versions of Splunk: 3.2.1 , 3.2.2 , 3.2.3 , 3.2.4 , 3.2.5 , 3.2.6 View the Article History for its revisions.


You must be logged into splunk.com in order to post comments. Log in now.

Was this documentation topic helpful?

If you'd like to hear back from us, please provide your email address:

We'd love to hear what you think about this topic or the documentation as a whole. Feedback you enter here will be delivered to the documentation team.