Knowledge Management

Running a search for "All Time" using Summary Search Index

pmccomb
Explorer

I would like to run a search for time period = "All Time". The idea is to get a unique list of all users and user firms that have ever logged into a particular web site.

In order to have the search run more efficiently/quickly I think I should use a Summary Index.

How do I update the Summary Index so that it contains all data over all time in the past and then gets augmented periodically (say, hourly) as time moves forward and not overlap data sets or have time gaps?

Here is an example of may search:
sourcetype="Logins" message="User logged in" Userid NOT "*@internaluser.com" | sichart distinct_count(Userid)

Tags (1)
0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi pmccomb,

take a look at the docs about the fill_summary_index.py script, which can be used to add new event into summary index.

hope this helps ...

cheers, MuS

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi pmccomb,

take a look at the docs about the fill_summary_index.py script, which can be used to add new event into summary index.

hope this helps ...

cheers, MuS

pmccomb
Explorer

Thanks. Yes. I think that will work.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...