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
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...