Refine your search:

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 %PROGRAMFILES%\Splunk\etc\apps. Then restart Splunk using the splunk restart command or the GUI.

Unix/Linux: Decompress the downloaded file using a tool like tar -xvf and place the resulting folder into $SPLUNK_HOME/etc/apps. Then restart Splunk using the splunk restart command or the GUI.

Description

Get a better insight in your Facebook connections. Integrated with Facebook Graph API makes Splunk a more social application.

Requirements:

  • Install Splunk version 4.x
  • Facebook account

Setup: installing this app is easy (only 2 steps!)

  1. Download this app bundle and then untar it in $SPLUNK_HOME/etc/apps/
  2. Then restart your Splunk instance.
  3. Optional: you may clean the facebook index if you choose to do so. Simply do this ./splunk stop; ./splunk clean eventdata facebook -f; ./splunk restart

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.
Writeup of this app - http://blogs.splunk.com/tag/facebook/
Wall of ideas - http://splunk-base.splunk.com/answers/43137/features-you-want-implemented-in-splunk-for-facebook-app
Download it now! Try it today!

Versions and Release Notes

Version 0.3.5 (current version - updated Apr 03, 2012)
release notes:
new UI for Friends page
show 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.

posted 20 Feb, 11:07

Nicholas%20Key's gravatar image

Nicholas Key ♦♦
1.9k111
accept rate: 14%

new version 03 Apr, 12:48


4 Reviews:
3 ratings

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

comments (1)

reviewed 03 May, 07:36

marcoscala's gravatar image

marcoscala
294
accept rate: 14%

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.

(07 May, 00:28) Nicholas Key ♦♦

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?

comments (2)

reviewed 29 Mar, 05:07

neddage's gravatar image

neddage
211
accept rate: 0%

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!

(29 Mar, 09:37) Nicholas Key ♦♦

Please install the latest release, neddage. Let me know how it's like. Thanks!

(03 Apr, 13:45) Nicholas Key ♦♦

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?

comments (3)

reviewed 26 Mar, 21:52

miwalker's gravatar image

miwalker
211
accept rate: 0%

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!

(27 Mar, 12:26) Nicholas Key ♦♦

Worked great! Thanks Nicholas!

(27 Mar, 15:09) miwalker

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

(27 Mar, 15:47) Nicholas Key ♦♦

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!

comments (0)

reviewed 24 Feb, 10:49

hans's gravatar image

hans
27318
accept rate: 33%

edited 24 Feb, 10:54

Your review

Did you find this app useful?

Preview toggle preview

Details

This app is not covered by any support agreements in place with Splunk. If you have questions about the installation or operation of this app, please contact the author.

Version 0.3.5
Last Updated: Apr 03, 2012
Download App
Author: Nicholas Key
Version: 0.3.5
Splunk compatibility: 4.3, 4.2, 4.1, 4.x
Price: Free
License: Creative Commons BY 3.0
Downloads: 455

Follow this app

Log In to enable email subscriptions

RSS:

Reviews

Reviews + Comments

Copyright © 2005-2012 Splunk, Inc. All rights reserved.