Hi splunkers,
I got the errors in "Twitter for Splunk".
http://splunk-base.splunk.com/apps/56296/twitter-for-splunk
And logs show.
07-06-2013 22:15:35.035 +0900 ERROR FrameworkUtils - Incorrect path to script: /.bintwitter_stream.py. Script must be located inside $SPLUNK_HOME/bin/scripts.
07-06-2013 22:15:35.035 +0900 ERROR ExecProcessor - Ignoring: "/.bintwitter_stream.py"
07-06-2013 22:15:37.626 +0900 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/twitter2/bin/twitter_stream.py" Could not get Twitter credentials from splunk. Error: No credentials supplied, please complete the Twitter app setup
I also got the same question in community site, but it seems to be unsolved.
http://splunk-base.splunk.com/apps/56296/twitter-for-splunk
Please teach me solutions.
This is a great app to demonstrate splunk..
Thanks.
P.S.
The error message which we should pay attention is below.
07-08-2013 12:16:41.820 +0900 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/twitter2/bin/twitter_stream.py" Could not get Twitter credentials from splunk. Error: No credentials supplied, please complete the Twitter app setup
07-08-2013 12:17:41.819 +0900 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/twitter2/bin/twitter_stream.py" Could not get Twitter credentials from splunk. Error: No credentials supplied, please complete the Twitter app setup
07-08-2013 12:18:41.818 +0900 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/twitter2/bin/twitter_stream.py" Could not get Twitter credentials from splunk. Error: No credentials supplied, please complete the Twitter app setup
And then my apps configuration is default.
If I add my twitter account to "Add Twitter Account Info", I got the error message in window.
Encountered the following error while trying to update: In handler 'localapps': Could not validate password for id="credential::MyTwitterAccount:"
Should I set my twitter account ?
I give up using Twitter for Splunk Apps to collect twitter data.
That is because Twitter API update (ver1.0 → ver1.1) cause several changes.
For example, oauth1 is needed and URI is changed.
But I collect data with REST API Modular Input.
REST API Modular Input - Splunk Community http://splunk-base.splunk.com/apps/90843/rest-api-modular-input
Before setting, you need to get Access Key and so on in Developer Site ( https://dev.twitter.com/ ).
And you get twitter sample data in json format to get target URI https://stream.twitter.com/1.1/statuses/sample.json .
Create your own Modular REST API input and you can leverage the samples from twitter: https://dev.twitter.com/docs/api/1.1
I also added some extra details on setting up the twitter app with modular inputs on this post on splunkbase: http://splunk-base.splunk.com/answers/58689/issue-with-twitter-app-installation?page=1&focusedAnswer...
I hope that helps.
Thank you for your advice, amiracle.
I give up using Twitter for Splunk Apps to collect twitter data.
That is because Twitter API update (ver1.0 → ver1.1) cause several changes.
For example, oauth1 is needed and URI is changed.
But I collect data with REST API Modular Input.
REST API Modular Input - Splunk Community http://splunk-base.splunk.com/apps/90843/rest-api-modular-input
Before setting, you need to get Access Key and so on in Developer Site ( https://dev.twitter.com/ ).
And you get twitter sample data in json format to get target URI https://stream.twitter.com/1.1/statuses/sample.json .
I think this is caused by updating twitter API from ver1.0 to ver1.1 added authentication logic...
I do, I tried using it for the first time yesterday. I got the same "Could not validate password for id="credential:..." error.
Does nobody happen this problem ?
i added the twitter for splunk app tag; this should notify the author of the app of your question.