Hi everyone, I am currently working with creating data models for Splunk App. For this app, I am planning to design one main Dataset, with multiple child datasets. These child Datasets, are at the equal level, and might have the fields with same name.
Please note that all the fields are evaluated at the Child dataset level and not at the Root dataset. Also, the type of events in different child datasets might be different, that is, in one child it might be syslog, in another child, it might be JSON, etc.
It looks something like this:
Main questions:
We tried different things to get through, though we are stuck at this issue.
Is this an expected behavior or a bug in Splunk?
Hi @dhvanilshah ,
what about running the contrain searches for each child, have you all the fields you need?
if not, you have to redesign your DataModel,
if yes, you should try to add the missing fields to the fields of each child.
Ciao.
Giuseppe
Hi @gcusello,
When I run the child constraint searches in preview mode, I am able to see the fields extracted. It seems that Splunk is not supporting different evals across the child dataset for same fieldname.
So, in my case, Root1 doesn't have any fields extracted.
Child1 and Child2 have fields extracted in different way, and they have the same name, ie, Severity, Name, etc.
Is this what you're asking? If not, could you please help me understand?
Hi @dhvanilshah ,
Use calculated fields with all the conditions to manage the different extraction ways,
Ciao.
Giuseppe