<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SA-Eventgen replay - leaking events with backfill too in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-I-use-specific-timestamps-with-SA-Eventgen-in-sample-mode/m-p/516901#M3172</link>
    <description>&lt;P&gt;Almost there!&lt;/P&gt;&lt;P&gt;I had a bad substitution in the regex, missing \/ for / as eventgen logs told me.&lt;/P&gt;&lt;P&gt;Now, trying to replay 1 event at a time from that big 10k raw sample.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 30 Aug 2020 10:30:46 GMT</pubDate>
    <dc:creator>ldongradi_SPL</dc:creator>
    <dc:date>2020-08-30T10:30:46Z</dc:date>
    <item>
      <title>Can I use specific timestamps with SA-Eventgen in sample mode?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-I-use-specific-timestamps-with-SA-Eventgen-in-sample-mode/m-p/516838#M3170</link>
      <description>&lt;P&gt;I'd like to replay a log, simulating prod, and continuously generating events (every 30 seconds is fine).&lt;/P&gt;
&lt;P&gt;I'm all good with sample mode, but it looks like I can only have random timestamps between earliest/latest. As with this code, giving my 28k events generated again and again every 30s with new timestamps from -1w till now. Problem is I'd like to keep the sequence of events.&lt;/P&gt;
&lt;P&gt;Can I have sample mode not scramble the timestamps ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[myfile.sample]
mode = sample
outputMode = file
fileName =/opt/log/mynew.log
interval = 30
earliest=-1w
latest=now

token.0.token = \d{2}/\w{3}/\d{4}:\d{2}:\d{2}:\d{2}
token.0.replacementType = timestamp
token.0.replacement = %d/%b/%Y:%T&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead, I am trying replay mode. But I can't get the outputfile generated. Nothing.&lt;/P&gt;
&lt;P&gt;What is wrong with my replay mode?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[myfile.sample]
mode = replay
outputMode = file
fileName =/opt/log/mynew.log
count = 0
interval = 30
earliest=now
latest=now

token.0.token = \d{2}/\w{3}/\d{4}:\d{2}:\d{2}:\d{2}
token.0.replacementType = replaytimestamp
token.0.replacement = %d/%b/%Y:%T&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 20:51:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Can-I-use-specific-timestamps-with-SA-Eventgen-in-sample-mode/m-p/516838#M3170</guid>
      <dc:creator>ldongradi_SPL</dc:creator>
      <dc:date>2020-08-31T20:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: SA-Eventgen replay - leaking events with backfill too</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Can-I-use-specific-timestamps-with-SA-Eventgen-in-sample-mode/m-p/516901#M3172</link>
      <description>&lt;P&gt;Almost there!&lt;/P&gt;&lt;P&gt;I had a bad substitution in the regex, missing \/ for / as eventgen logs told me.&lt;/P&gt;&lt;P&gt;Now, trying to replay 1 event at a time from that big 10k raw sample.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2020 10:30:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Can-I-use-specific-timestamps-with-SA-Eventgen-in-sample-mode/m-p/516901#M3172</guid>
      <dc:creator>ldongradi_SPL</dc:creator>
      <dc:date>2020-08-30T10:30:46Z</dc:date>
    </item>
  </channel>
</rss>

