Getting Data In

Moving cribl events to their own index

dtamburin
Engager

Brand new to splunk, inherited a slightly configured system.

I want to move certain cribl events to an index called vmware.

I added this...

props.conf

[sourcetype::cribl]
TRANSFORMS-index = route_to_vmware

transforms.conf

[route_to_vmware]
REGEX = (?i)vpxa
DEST_KEY = _MetaData:Index
FORMAT = vmware

Created an index in splunk.

dtamburin_0-1747146327495.png

Example of event, ending up in main index...

dtamburin_1-1747146419579.png

any help would be appreciated.  thank you

I did restart splunk from the GUI after changes were made.

Labels (3)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Data from Cribl is "cooked" meaning it already has been processed so props and transforms on the indexers will not process it further.

You should change the index name in Cribl.

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

View solution in original post

livehybrid
SplunkTrust
SplunkTrust

Hi @dtamburin 

Cribl will be sending data which is already parsed, therefore the proposed props/transforms will not work, instead you can use Ingest Actions:

== props.conf ==
[cribl]
RULESET-ruleset_cribl = _rule:ruleset_cribl:set_index:eval:is31lica
RULESET_DESC-ruleset_cribl = 


== transforms.conf == 
[_rule:ruleset_cribl:set_index:eval:is31lica]
INGEST_EVAL = index=IF(match(_raw,"(?i)vpxa"),"vmware", index)

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

dtamburin
Engager

thank you, I will try this also.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Data from Cribl is "cooked" meaning it already has been processed so props and transforms on the indexers will not process it further.

You should change the index name in Cribl.

---
If this reply helps you, Karma would be appreciated.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...