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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...