All Apps and Add-ons

Set-up on Linux (Ubuntu)

New Member

Hi Mic,

I am trying to set-up this app on Splunk for Linux which is running on Ubuntu, do you have any set-up documentation? I am pretty new to Splunk, i have uploaded the app, but presuming i must need to do some sort of additional configuration as i am getting a lot of errors from the input scripts, here is a list of them below:

I would appreciate any help as we want to get this up and running. The indexer has access to the Internet, which is what all i thought was needed for the app to work.

Graeme.

06-21-2013 09:47:10.837 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TrainingStock/bin/stockrss.py" NameError: name 'os' is not defined
06-21-2013 09:47:10.837 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TrainingStock/bin/stockrss.py" if os.name=="posix":
06-21-2013 09:47:10.837 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TrainingStock/bin/stockrss.py" File "/opt/splunk/etc/apps/TrainingStock/bin/stockrss.py", line 34, in <module>
06-21-2013 09:47:10.837 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TrainingStock/bin/stockrss.py" Traceback (most recent call last):
06-20-2013 10:15:52.434 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TrainingStock/bin/stockreader-historical.py" IndexError: list index out of range
06-20-2013 10:15:52.434 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TrainingStock/bin/stockreader-historical.py" last_line = file(stockFilePath, "r").readlines()[-1]
06-20-2013 10:15:52.434 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TrainingStock/bin/stockreader-historical.py" File "/opt/splunk/etc/apps/TrainingStock/bin/stockreader-historical.py", line 48, in <module>
06-20-2013 10:15:52.434 +0100 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/TrainingStock/bin/stockreader-historical.py" Traceback (most recent call last):
0 Karma

Explorer

Is this App still being supported??

0 Karma

New Member

I am getting these errors when i am using the Splunk App for Stocks Monitoring, i thought i had posted this in that thread but looks not.

0 Karma

Influencer

Welcome,

There certainly is some documentation for this app here...

http://docs.splunk.com/Documentation/UnixApp/latest/User/AbouttheSplunkAppforUnix

Not sure about the errors, the scripts sometimes fail based on permissions...

0 Karma