Splunk Enterprise

Eventgen - Share a token replacement value across multiple events of the same sample file

kirtigupta
Observer

Hi,

I am using Splunk 9.4.1 and eventgen 8.1.2. In my sample file to generate events I have multiple events in the same sample file. 

Sample file:

key1={val_1};key2={val2} - Event 1

key1={val_1;key2={val2} - Event 2 in next line

Now I need to generate a replacement value, any random GID and replace both val_1 in both the events with the same GID. That is I need to share this. But currently splunk eventgen is not sharing the value but a for each event within the file a new value is being generated.

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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