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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...