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

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...