Getting Data In

What is the order of precedence transforms are applied within a single props.conf stanza?

muebel
SplunkTrust
SplunkTrust

Given a couple transforms.conf stanzas that both operate on the host field (index-time manipulation), reading from the host field and then in one case making a new field from part of the host field, and then in the other case modifying the host field, what order does the transforms get applied in?

1 Solution

muebel
SplunkTrust
SplunkTrust

In the process of writing this question I found the answer in the transforms.conf spec:

Use a comma-separated list to apply multiple transform stanzas to a single TRANSFORMS
  extraction. Splunk applies them in the list order. For example, this sequence ensures that
  the [yellow] transform stanza gets applied first, then [blue], and then [red]:
        [source::color_logs]
        TRANSFORMS-colorchange = yellow, blue, red

So in summary, the transforms application order is the order that you list them in the props configuration directive.

View solution in original post

muebel
SplunkTrust
SplunkTrust

In the process of writing this question I found the answer in the transforms.conf spec:

Use a comma-separated list to apply multiple transform stanzas to a single TRANSFORMS
  extraction. Splunk applies them in the list order. For example, this sequence ensures that
  the [yellow] transform stanza gets applied first, then [blue], and then [red]:
        [source::color_logs]
        TRANSFORMS-colorchange = yellow, blue, red

So in summary, the transforms application order is the order that you list them in the props configuration directive.

tasqn
New Member

Small correction, that text is actually from the props.conf spec. Was little confused when I went to the transforms.conf spec and was unable to find it.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...