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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...