All Apps and Add-ons

Why am I getting these errors installing Eventgen in Splunk 6.3 on El Capitan OS X?

gimapei
New Member

Hi guys

I am sorry, I am not familiar with English

My question is: Why am I getting this error below?

10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py" Traceback (most recent call last):
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py"   File "/Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py", line 16, in <module>
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py"     from eventgenconfig import Config
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py"   File "/Applications/Splunk/etc/apps/eventgen-master/lib/eventgenconfig.py", line 12, in <module>
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py"     from eventgensamples import Sample, Token
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py"   File "/Applications/Splunk/etc/apps/eventgen-master/lib/eventgensamples.py", line 12, in <module>
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py"     from eventgenoutput import Output
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py"   File "/Applications/Splunk/etc/apps/eventgen-master/lib/eventgenoutput.py", line 5, in <module>
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py"     import httplib, httplib2
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py"   File "/Applications/Splunk/lib/python2.7/site-packages/httplib2/__init__.py", line 798, in <module>
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py"     class HTTPSConnectionWithTimeout(httplib.HTTPSConnection):
10-30-2015 11:19:42.191 +0900 ERROR ExecProcessor - message from "python /Applications/Splunk/etc/apps/eventgen-master/bin/eventgen.py" AttributeError: 'module' object has no attribute 'HTTPSConnection'

How can I using the Eventgen with Splunk 6.3 and El Capitan?

I am sorry again about my pure english

0 Karma

stevepr
New Member

I had to install two packages to make it work in el Capitan. I was getting exactly the same errors you are getting.

httplib2 & Config

For Config package:
https://www.red-dove.com/config-doc/
Download: http://www.red-dove.com/config-0.3.7.tar.gz
Once downloaded, extract the file( double click in OSX), from the Terminal (CLI), navigate to the directory of the file you just extracted, run the following command:
python setup.py install

For httplib2 package:

Follow same steps as above...

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...