Knowledge Management

Why does setting a TZ for sourcetype "stash" not take effect?

lcavaliere_splu
Splunk Employee
Splunk Employee

Issue: If you try to apply a TZ in props to sourcetype "stash" (i.e. the sourcetype of summary-indexed data), this setting will not take effect.

An example use case for this is when need to use the "collect" command to summarise data into summary indexes, and these are of simple non-transforming searches where a subset of the events are output to be summarised (i.e. events which will have the same _time as their original counterparts, and which do not have any TZ since the raw event specifies none, and for which we need to apply the TZ via props like in the original events - and it is this behaviour which we are clarifying).

0 Karma

lcavaliere_splu
Splunk Employee
Splunk Employee

Solution: Apply the TZ setting in props for the sourcetype "stash_new" instead of "stash"

Also, an enhancement request has been submitted for this so a more elegant way of achieving this may be available in future Splunk versions (ref. SPL-161638)

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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