Splunk Enterprise

How to create a search to count Millions of Records?

genesiusj
Builder

Hello,

We have a lookup/kvstore containing over 3.M records*. We need to count the number of times each value is found over all of the records.

Ex: Count the occurrence of the same LAST_NAME

Field Name: LAST_NAME
Values: JONES, SMITH, DAVIS, GARCIA
Counters Values: 12, 34, 16, 23

This is just one of several different counters: BIRTH_YEAR, CITY, STATE, etc.

Because of the limits within Splunk, this code would result in blanks and inaccurate counts.

 

| eventstats count(ID) as count_same_city by CITY 

 

Any suggestions?

* The number of records increases by 10K every week.

Thanks in advance, and God bless,
Genesius

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Create a summary index which holds the daily or weekly aggregated statistics, then sum the various counts over a longer period as appropriate.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...