Getting Data In

Looping in csv items to count how many values matches in a index

fabrizioalleva
Path Finder

Hi all,
starting from a csv which contains 10 items, I want to count ( in order to produce a chart ) all the matches in the index and all the matches where a specific fields is equal to 1 . So two values for each item ( the first all matches and seconds all the matches where another field = 1 )
If no matches were found the value for csv items should be 0.

I hope it's clear

I try to do it whitout csv, but if an item has no matches in the index that item is not shown in the chart )

Thanks Fabrizio

Tags (2)
0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...