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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...