Getting Data In

What is the precedence for "SEDCMD" attribute?

Hajime
Path Finder

I think the precedence for "SEDCMD" attribute within single stanza is ASCII order.

For example props.conf:

[foo]
SEDCMD-01 = s/foo/bar/g
SEDCMD-02 = s/bar/foo/g

In this case, SEDCMD-01 is done firstly and then SEDCMD-02 is done.

Is this correct?

Please let me know that.

0 Karma
1 Solution

somesoni2
Revered Legend

Yes, the SEDCMD is applied in the alphabetical order of the class.

SEDCMD-01 is executed before SEDCMD-02
SEDCMD-abc02 is executed before SEDCMD-def01
SEDCMD-AAA02 is executed before SEDCMD-abc02

View solution in original post

somesoni2
Revered Legend

Yes, the SEDCMD is applied in the alphabetical order of the class.

SEDCMD-01 is executed before SEDCMD-02
SEDCMD-abc02 is executed before SEDCMD-def01
SEDCMD-AAA02 is executed before SEDCMD-abc02

Hajime
Path Finder

Thank you for your answer.
I agree with you.
Also I wish to be written this description to the manuals.

0 Karma

somesoni2
Revered Legend

The topic about SEDCMD is available here. You can leave a comment at the bottom of the page and Splunk doc team help get this added.

http://docs.splunk.com/Documentation/Splunk/6.3.3/Data/Anonymizedata

Hajime
Path Finder

Thank you for your kind advice!

0 Karma
Get Updates on the Splunk Community!

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

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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