<?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: How to Get Eventgen working? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/610629#M77466</link>
    <description>&lt;P&gt;eventgen's documentation is pathetic.&lt;/P&gt;&lt;P&gt;Also: gogen examples skip index names from config files - a basic getting started example is all that was needed!&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/halr9000/gogen-1/blob/master/README/Tutorial.md" target="_blank"&gt;https://github.com/halr9000/gogen-1/blob/master/README/Tutorial.md&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2022 07:57:08 GMT</pubDate>
    <dc:creator>rsharma4</dc:creator>
    <dc:date>2022-08-24T07:57:08Z</dc:date>
    <item>
      <title>How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356165#M43106</link>
      <description>&lt;P&gt;I installed eventgen and watched the tutorial videos. I created a new app, changed the permissions to global, created a sample folder inside the new app, dropped my sample file in &lt;CODE&gt;/opt/splunk/etc/apps/internal_app/samples&lt;/CODE&gt;, then moved the &lt;CODE&gt;eventgen.conf.tutorial&lt;/CODE&gt; file to &lt;CODE&gt;/opt/splunk/etc/apps/internal_app/local&lt;/CODE&gt;, renamed it to &lt;CODE&gt;eventgen.conf&lt;/CODE&gt;, uncommented out the lines, referenced my sample file in the stanza, and restarted Splunk. After restarting, I see zero data flowing into the main index which is the one I specified in &lt;CODE&gt;eventgen.conf&lt;/CODE&gt;. &lt;/P&gt;

&lt;P&gt;When I do a search on the internal logs, &lt;CODE&gt;/opt/splunk/var/log/splunk/eventgen.log&lt;/CODE&gt; I can see my data sample along with Splunk saying it backfilled successfully. &lt;/P&gt;

&lt;P&gt;I'm stumped as to why this isn't generating data &lt;/P&gt;

&lt;P&gt;Here's my &lt;CODE&gt;eventgen.conf&lt;/CODE&gt; file &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Test_Data.txt]
mode = replay
sampletype = csv
timeMultiple = 2
backfill = -15m
backfillSearch = index=main sourcetype=eventgen

outputMode = stdout
outputMode = splunkstream
splunkHost = localhost
splunkUser = admin
splunkPass = changeme


token.0.token = \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3,6}
token.0.replacementType = timestamp
token.0.replacement = %Y-%m-%d %H:%M:%S,%f
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here's what I'm seeing in the internal logs &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2017-12-21 14:01:38,605 INFO module='Timer' sample='Test_Data.txt': Stopping timer for sample 'Test_Data.txt'
host =  MCxxxxxxxxx source =/opt/splunk/var/log/splunk/eventgen.log sourcetype =eventgen

12/21/17 1:54:11.032 PM 
2017-12-21 13:54:11,032 INFO module='Timer' sample='Test_Data.txt': Backfill complete
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:20:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356165#M43106</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-12-21T19:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356166#M43107</link>
      <description>&lt;P&gt;Hey &lt;/P&gt;

&lt;P&gt;Use this link &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://youtu.be/9S-ZeGEfRKg" target="test_blank"&gt;https://youtu.be/9S-ZeGEfRKg&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1) download eventgen from &lt;A href="https://github.com/splunk/eventgen"&gt;https://github.com/splunk/eventgen&lt;/A&gt;&lt;BR /&gt;
2) extract it to etc/apps/SA-Eventgen (yes, it should be named that to eventgen).&lt;BR /&gt;
3) review Eventgen in Manage Apps, you may want to make it visible.&lt;BR /&gt;
4) Restart Splunk&lt;BR /&gt;
 eventgen.conf and samples in them that are ready to go&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:44:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356166#M43107</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2017-12-21T19:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356167#M43108</link>
      <description>&lt;P&gt;I've watched that video about 4x over now and have an identical setup and it will not generate events! &lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:58:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356167#M43108</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-12-21T19:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356168#M43109</link>
      <description>&lt;P&gt;Replace  [Test_Data.txt] with  [Test_Data] , Restart the server.&lt;/P&gt;

&lt;P&gt;It should work.&lt;/P&gt;

&lt;P&gt;Please let us know &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:21:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356168#M43109</guid>
      <dc:creator>naidusadanala</dc:creator>
      <dc:date>2020-09-29T17:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356169#M43110</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/132691"&gt;@skoelpin&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;I have created sample app with eventgen configuration and it is working fine.&lt;/P&gt;

&lt;P&gt;Steps which I have followed&lt;BR /&gt;
1. Installed eventgen app on splunk.&lt;BR /&gt;
2. Created new app with name "test_app"&lt;BR /&gt;
3. Created $SPLUNK_HOME/etc/app/test_app/default/eventgen.conf with below content&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[test_data\.txt]
interval = 60
earliest = -60m
latest = now
sourcetype = test_st
source = eventgen
disabled=0
token.0.token = TTTTTTTT
token.0.replacementType = timestamp
token.0.replacement = %Y-%m-%d %H:%M:%S,%f
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Created $SPLUNK_HOME/etc/apps/test_app/samples/test_data.txt file with below content&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TTTTTTTT transType=ReplaceMe transID=000000 transGUID=0A0B0C userName=bob city="City" state=State zip=00000 value=0
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Below content added into $SPLUNK_HOME/etc/apps/test_app/metadata/default.data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   [eventgen]
access = read : [ * ], write : [ admin ]
export = system
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Restarted splunk service&lt;BR /&gt;
And I can see data in splunk with query &lt;CODE&gt;index=main sourcetype=test_st&lt;/CODE&gt; and events generated with eventgen are&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   2017-12-22 16:19:59,595283 transType=ReplaceMe transID=000000 transGUID=0A0B0C userName=bob city="City" state=State zip=00000 value=0
2017-12-22 16:17:11,647706 transType=ReplaceMe transID=000000 transGUID=0A0B0C userName=bob city="City" state=State zip=00000 value=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;EDIT:&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Tried with eventgen.conf which is provided in original question with some modification&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[test_data\.txt]
mode = replay
timeMultiple = 2
backfill = -60m
backfillSearch = index=main source=eventgen

outputMode = splunkstream
splunkHost = localhost
splunkUser = admin
splunkPass = changeme

token.0.token = \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2},\d{3,6}
token.0.replacementType = timestamp
token.0.replacement = %Y-%m-%d %H:%M:%S,%f
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And $SPLUNK_HOME/etc/apps/test_app/samples/test_data.txt with content&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2017-10-14 11:12:13,567 transType=ReplaceMe transID=000000 transGUID=0A0B0C userName=bob city="City" state=State zip=00000 value=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is also backfilling data perfectly fine.&lt;/P&gt;

&lt;P&gt;It looks you don't have any data in splunk while running backfill query &lt;CODE&gt;index=main sourcetype=eventgen&lt;/CODE&gt; that's why eventgen is not backfilling any data.&lt;/P&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Harshil&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:25:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356169#M43110</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2020-09-29T17:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356170#M43111</link>
      <description>&lt;P&gt;Thanks for your detailed response. I copied your directions and have an identical setup to yours and it is still not streaming data in with that sourcetype. Does it take awhile before it starts generating? &lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 16:30:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356170#M43111</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-12-22T16:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356171#M43112</link>
      <description>&lt;P&gt;It will generate events within 5 minutes after splunk restart. Can you please post some logs from eventgen.log file for test_data.txt file.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 17:58:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356171#M43112</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-12-22T17:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356172#M43113</link>
      <description>&lt;P&gt;Hi, harsmarvania57,&lt;BR /&gt;
Thanks for your detailed response.But i have the same problem like "skoelpin"  and i wait maybe 10 or 15 minutes and i don't receive any events from eventgen. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 13:17:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356172#M43113</guid>
      <dc:creator>Penkov</dc:creator>
      <dc:date>2018-12-12T13:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356173#M43114</link>
      <description>&lt;P&gt;Hi @Penkov,&lt;/P&gt;

&lt;P&gt;I am not sure what problem are you facing but you can try Gogen instead of Eventgen &lt;A href="https://github.com/coccyx/gogen"&gt;https://github.com/coccyx/gogen&lt;/A&gt; , this also generate dummy data but I never tried this.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 13:31:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356173#M43114</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-12-12T13:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356174#M43115</link>
      <description>&lt;P&gt;Thanks @harsmarvania57  for your answer. My problem is that i can't run eventgen and create any type of event. I try to  copied your directions and have an identical setup to yours and it is still not streaming data in with that sourcetype.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 13:41:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356174#M43115</guid>
      <dc:creator>Penkov</dc:creator>
      <dc:date>2018-12-12T13:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356175#M43116</link>
      <description>&lt;P&gt;Which version of Splunk are you running ? and Is it standalone instance, if not standalone then on which instance you installed eventgen ? It will be good to start new question with required information and refer this question link in your new question.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 13:44:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356175#M43116</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-12-12T13:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356176#M43117</link>
      <description>&lt;P&gt;After installing the event gen manually (did not path correctly with directions), I added the SA-Eventgen app through the manage apps\ install from file. The trick for me was to go into the Data Input/SA-Eventgen input and enable it. (disabled during install). Events were there within minutes after a restart.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 17:30:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356176#M43117</guid>
      <dc:creator>Ohiotech</dc:creator>
      <dc:date>2019-05-07T17:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356177#M43118</link>
      <description>&lt;P&gt;This fixed my issue. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 15:05:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356177#M43118</guid>
      <dc:creator>ian_thomas</dc:creator>
      <dc:date>2019-06-20T15:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356178#M43119</link>
      <description>&lt;P&gt;EventGen is an important tool and at the same time, making it work looks like a very difficult task.&lt;BR /&gt;
Poor documentation. God please save me.&lt;BR /&gt;
&lt;STRONG&gt;Adding to the issue, like adding fuel to the fire, that video mentioned was removed.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 13:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356178#M43119</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2019-08-26T13:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356179#M43120</link>
      <description>&lt;P&gt;I, too, am not able to get this to work at all. &lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 19:29:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/356179#M43120</guid>
      <dc:creator>cboillot</dc:creator>
      <dc:date>2019-08-30T19:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Eventgen working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/610629#M77466</link>
      <description>&lt;P&gt;eventgen's documentation is pathetic.&lt;/P&gt;&lt;P&gt;Also: gogen examples skip index names from config files - a basic getting started example is all that was needed!&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/halr9000/gogen-1/blob/master/README/Tutorial.md" target="_blank"&gt;https://github.com/halr9000/gogen-1/blob/master/README/Tutorial.md&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 07:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-Get-Eventgen-working/m-p/610629#M77466</guid>
      <dc:creator>rsharma4</dc:creator>
      <dc:date>2022-08-24T07:57:08Z</dc:date>
    </item>
  </channel>
</rss>

