Splunk ITSI

Adding entity rules to base search cause service kpi’s to be 0

Dpeedahnb
Explorer

I have a base search that returns a column I utilise to get the sum off it’s values as a metric, this metric is used as a kpi of a service that has entity rules for one field (fieldX), this field matches around 10 entities each having a different value for this field to find matches.

However, within my base search, when I enter fieldX into split by entity, my results, within service analyser and in my glass tables all become 0. When I remove this split by entity(by choosing the option no), the values all begin to work as expected.

i am wondering why it is that splitting by entity causes all my results to return 0, I’ve redone this again and again to the same result.

Labels (2)
0 Karma

eduncan
Splunk Employee
Splunk Employee

Check that the box for 'filter entities by' matches the field you are using for entity rules.  The split by is not a filter so you should be able to split by the same field name. For instance if you are filtering entities by 'host' that is the same field you would put into the split field.

 

What types of metrics are you trying to add?  Make sure that in your base search for per entity you use sum, and for aggregate you use average.  

0 Karma

Dpeedahnb
Explorer

I have my “split by entity” option as yes, the field of ‘user_office’ is in the ‘entity split field’ box, this is the same field used in the services entity rules, and the same one used in the entity alias. I have sun entity calculation and the service aggregate is Average, would filling data gaps cause an error? I’ve done this before in another set up and it worked as intended.

0 Karma
Get Updates on the Splunk Community!

Splunk Search APIを使えば調査過程が残せます

   このゲストブログは、JCOM株式会社の情報セキュリティ本部・専任部長である渡辺慎太郎氏によって執筆されました。 Note: This article is published in both Japanese ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...