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
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...