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.
Get Updates on the Splunk Community!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...