Splunk Search

Can we use conditional statements in transforms.conf ?


Can we use conditional statements in transforms.conf in case we are having different formats for the logs??
Or if we are having different log formats, is there a way to implement this in my app?

Thankssss !!

Tags (2)
0 Karma

Splunk Employee
Splunk Employee

Not completely clear on what you want to do. You could configure rule based sourcetyping to manage various formats.


0 Karma
Get Updates on the Splunk Community!

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...