Example business transaction configuration
Review an example of how you can correlate logically-related traces with Business Transactions in Splunk Observability Cloud.
Suppose you want to identify every trace that goes through service.example
. To do this, create a business transaction. The following example creates a service rule for service.example
that creates business transactions based on endpoints for the service.
Prerequisite
To configure business transactions, you must have the admin role.
Steps
Go to
.Select New Rule.
Select Service for the Rule Type.
Select service.example for the Target Service.
Confirm that the Source of business transaction name is set to Matched service:endpoint. If it is not, select >Matched service:endpoint from the menu.
Select Create to save your changes and create the rule.
View the list of rules to confirm that the rule you just created is turned on. If it is not, use the toggle next to the rule name to turn on the rule.
To evaluate a trace against the rule set and generate a name for the business transaction, copy and paste a trace ID into the Rule Tester field.
By default, the newest rule has the highest priority. This means Splunk APM applies the new rule before applying any other rules. If there are other rules you want to apply first, adjust the priority of the new rule.
Select Save Changes to apply the new rule and priority list.