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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...