Installation

Can we assign two transforms.conf with Same sourcetypes in props.conf

pankajupadhyay
Path Finder

Hi,

Can we assign two different transforms.conf to same sourcetype ?

For example:

[sourcetype]

SEDCMD-test=

SEDCMD-test1=

transfrom-routing=transfromA,transfromB

 

Tranfroms.conf

[tranfromA]

Regex=Error

Format=target1

[tranfromA]

Regex=Something

Format=target1

 

So can i apply two different  SEDCMD syntax with same sourcetype config in props.conf ?

As two SEDCMD are doing different things ?

 

 

Labels (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Yes, that is valid syntax.

---
If this reply helps you, Karma would be appreciated.
0 Karma

pankajupadhyay
Path Finder

@richgalloway  In props.conf

two different SEDCMD will work I meant to say both does different objective in props.conf ?

 

 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Yes, it should work, although it's impossible to give a definitive answer without seeing concrete examples and sample data.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...