Thanks For Downloading!Review the documentation below and follow any custom installation steps. If no install steps are listed, most Splunk Apps and Add-ons can be installed as follows: Windows: Decompress the downloaded file using a tool like 7-Zip and place the resulting folder into Unix/Linux: Decompress the downloaded file using a tool like DescriptionGet a better insight in your Facebook connections. Integrated with Facebook Graph API makes Splunk a more social application. Requirements:
Setup: installing this app is easy (only 2 steps!)
Comments? Feedback? Please try this app and let me know how it is like. More features underway. Disclaimer: This is an experimental project. Splunk and this app ("Splunk for Facebook") will not and do not store your sensitive information such as your Facebook login credentials. Users will be redirected to Facebook to authenticate themselves. Use this app at your own risk. Versions and Release Notesshow older versions »
Version 0.3.4
(updated Apr 03, 2012)
release notes:
refactored codes. lots of backend and UI works: search and indexing is finetuned to work on demand, zoomable map to street level, easier app deployment.
|
I'm sorry but I can't make it work!!! installed the app on my local macbook running Splunk 4.3.1; started the app and authenticate on Facebook with my FB account and authorized SplunkApp; returning to the app, I can see my Friends List, but if I try to open the "Updates in your Social Network" dashbaord, the dashboard opens, shows the empty maps but no data is retrieved from Facebook and stored into "facebook" index, o nothing is displayed in the dashboard.
Any ideas?!?
regards,
Marco
Hi Marco, thank you so much for your feedback and trying out this app.
Although I do not have any clear ideas what went wrong but I'll release a patch to accommodate the changes in the permissions in Facebook API.
The new release is expected to be more robust and better error handling. I'll keep you updated of the new release.
Thank you again.
This app looks great but i'm having an issue with the geolocation not working.
I've made sure the URL and user/pass are correct in the SplunkSearchFacebook.py file but if I look in the chrome console I can see that the url /en-GB/custom/splunk_facebook/facebook/geoloc is returning an Internal Server Error 500 with he following in the logs:
ACCEPT-ENCODING: gzip,deflate,sdch
2012-03-29 13:04:09,331 DEBUG [4f744fb9537faf20241c50] _cplogging:55 - [29/Mar/2012:13:04:09] HTTP Traceback (most recent call last):
File "/opt/splunk/lib/python2.7/site-packages/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/opt/splunk/lib/python2.7/site-packages/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/lib/routes.py", line 321, in default
return route.target(self, **kw)
File "<string>", line 69, in geoloc
File "<string>", line 17, in __init__
File "<string>", line 24, in get_auth_token
File "/opt/splunk/lib/python2.7/site-packages/httplib2/__init__.py", line 1419, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/opt/splunk/lib/python2.7/site-packages/httplib2/__init__.py", line 1171, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/opt/splunk/lib/python2.7/site-packages/httplib2/__init__.py", line 1147, in _conn_request
response = conn.getresponse()
File "/opt/splunk/lib/python2.7/httplib.py", line 1027, in getresponse
response.begin()
File "/opt/splunk/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/opt/splunk/lib/python2.7/httplib.py", line 371, in _read_status
raise BadStatusLine(line)
BadStatusLine: ''
Do you have any idea what this could be?
Thank you so much for trying out this app, neddage. I'll reproduce this issue and a fix should be ready in the next release. Thoughts? Feedback? Please feel free to drop a line or two at http://splunk-base.splunk.com/answers/43137/features-you-want-implemented-in-splunk-for-facebook-app
Thank you!
Please install the latest release, neddage. Let me know how it's like. Thanks!
Hey Friends!
Is there an easy way to get Splunk for Facebook working with my test box running Splunk Free license since there's no user credentials?
Hi Mike, thank you for your interest in this app. I believe your question might be about if the app is still usable with Free License.
Please try your most recently updated splunkd user login credentials when you first used Splunk with Enterprise Trial License before you changed it to Free License.
Although I have not tested this yet, try editing the login credentials (the one that you used to use when you were using Splunk with Enterprise Trial License) in $SPLUNK_HOME/etc/apps/splunk_facebook/appserver/controllers/SplunkSearchFacebook.py
Let me know it if works. Thanks!
Worked great! Thanks Nicholas!
Good to know, Mike! Please feel free to pen some thoughts, feedback or suggestions in here: http://splunk-base.splunk.com/answers/43137/features-you-want-implemented-in-splunk-for-facebook-app
This app is an excellent example of using custom UI. By simply adding .html files and .js scripts in your <app>/appserver/static directory, you can really decide on you how you want to present your data. This what makes it possible to implement the workflow for this app to query data from facebook.
Having known this ability, it also opens up the possibility to also generate custom UIs from the server side that leverage splunkweb. For example, app developers can implement your own custom controllers. For instance you can have <my app>/appserver/controllers/my.py. In there you can have something like:
import cherrypy
import splunk.appserver.mrsparkle.controllers as controllers
from splunk.appserver.mrsparkle.lib.decorators import expose_page
from splunk.appserver.mrsparkle.lib.routes import route
from splunk import auth
class MyController(controllers.BaseController):
@route('/')
@expose_page(must_login=True)
def get(self):
'''/myapp/friends'''
return self.render_template('myapp:/templates/friends.html')
Then you simply add a web.conf in your app.
> cat myapp/default/web.conf
[endpoint:friends]
This is going to be extremely useful once you're interacting with splunked data. This is a fantastic start that that has lots of potential. It would be cool to see what types of data for splunk to index to produce interesting correlations with social data returned from facebook.
Nice job!

