Splunk Enterprise

Eventgen: How to create a frequency based on timestamp?

AlizéGui
Explorer

Hello ! 

I would like to generate a drop down of data during a specfic hour. Let's say 2pm here is my eventgen.conf : 

## Example replace {"pointName": "nb", "value": "25.33"}
token.1.token = "pointName":\s"nb".{1,60}"value":\s"(.{1,10})"}
token.1.replacementType = random
token.1.replacement = integer[5:30]

And I would like at 2pm that the number it's change like this : 

token.1.token = "pointName":\s"nb".{1,60}"value":\s"(.{1,10})"}
token.1.replacementType = random
token.1.replacement = integer[0:4]

Does anybody know how to create a fluctuation for a specific time on a eventgen.conf ? 

Labels (1)
Tags (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...