All Apps and Add-ons

Why does the tSessions_Lookup_Update report take a long time to complete?

danielbb
Motivator

The tSessions_Lookup_Update report from the splunk_app_windows_infrastructure is the main or only report for which we see many skipped searches.

The code is -

`tsessions` 
| eval _key = session_id 
| sort 0 _time 
| outputlookup tSessions append=true

| inputlookup tSessions is not even responsive.

What can it be?

0 Karma

danielbb
Motivator

Looking via the MC at search->kvstore->instance and we see -

alt text

We see 268,809,800 objects for this collection. Does it make sense to have so many objects? Should we maybe initialize this collection?

0 Karma

lim2
Communicator

You may need to add the index, especially if running the SPL as Splunk admin. Else will look through all available Splunk indexes. The actual saved search for tSessions_Lookup_Update in https://splunkbase.splunk.com/app/1680/ (Splunk App for Windows Infrastructure) included index as following.

`wineventlog-index` `tsessions`|eval _key = session_id |sort 0 _time|outputlookup tSessions  append=true

 

 

 

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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 ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...