icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Splunk App for Microsoft SharePoint
SHA256 checksum (splunk-app-for-microsoft-sharepoint_021.tgz) 21038336cd77cb6196701a20abe9766019e5f1bfdc2d9805884b04df74a92955 SHA256 checksum (splunk-app-for-microsoft-sharepoint_017.tgz) 90e9bca6f5ec71602c4a8679ad33ca88d31c9fd753a4be38817a741126da7fd1
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

Splunk App for Microsoft SharePoint

This app has been archived. Learn more about app archiving.
This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
THIS APP IS ABANDONED AND WILL NOT BE UPDATED

The Splunk App for SharePoint allows an IT admin to gain deep visibility with their SharePoint 2010 or 2013 environment. Included are data inputs for inventory, user audit, ULS, IIS logs, network latency and performance data.

This app does not gather data - it relies on the Add-on for SharePoint (http://apps.splunk.com/app/1908/) to gather that data. Ensure the Add-on for SharePoint is properly gathering data first.

Join us in our Open Source project at https://github.com/splunk/splunk-app-sharepoint

This app is designed to provide dashboards for Microsoft SharePoint 2010 or SharePoint 2013 and a set of starting dashboards covering health, audit and usage. The data collection provided by the TA-Sharepoint (http://apps.splunk.com/app/1908) includes the following:

  • SharePoint Object Inventory
  • Service and Performance Information
  • Network Latency Information
  • IIS Logs
  • ULS Logs
  • SharePoint Audit Logs

This app will not work until all installation is completed. The installation process will take some time and some adjustment to the permissions structures that govern the SharePoint farm.

System Requirements

The "central Splunk instance" (consisting of search heads and indexers) can be any operating system. You must be running Splunk v6.2 or later on all Splunk servers within the central Splunk instance.

Splunk App for Microsoft SharePoint supports:

  • Microsoft SharePoint 2010 running on Windows Server 2008R2
  • Microsoft SharePoint 2013 running on Windows Server 2012 and 2012R2

Installation

Step 1: Install the Splunk App for SQL Server on all Content Servers

The backend storage for SharePoint is SQL Server. If you wish, install the Splunk App for SQL Server, which is available on Splunkbase, prior to commencing work on SharePoint. Note that there is a single panel in a single dashboard that utilizes the SQL Server data.

Step 2: Prepare the Splunk Indexers

Create the following indices in the Splunk Indexers:

  • perfmon
  • iis
  • mssharepoint

In addition, you must deploy the TA-Sharepoint app to the Indexers or Heavy Intermediate Forwarders. This add-on can be found on Splunkbase at http://apps.splunk.com/app/1908 You will need to restart the splunkd process to register this app on each indexer. You can disable the inputs within this app as they are not necessary.

The TA-Sharepoint add-on handles augmented line breaking and data fixing of the ULS logs so that each transaction is available as a single event instead of multiple events. This is required for exception reporting within the dashboards.

Step 3: Designate an Inventory and Audit Reader

One of your SharePoint servers must be designated as an inventory and audit reader. This server will be used to gather the inventory information and to read the audit log within SharePoint. The Universal Forwarder that is installed on this SharePoint server will need special handling.

If you have multiple farms, then you must designate an Inventory and Audit Reader in each farm.

Step 4: Install Splunk on the other SharePoint servers

Each SharePoint server that is not the Inventory and Audit Reader host can get a standard "Local System" type install of the latest Splunk Universal Forwarder (version v6.2 or later). It should be linked to a Splunk Deployment Server so that you can easily push updated apps to the Universal Forwarder. It should be sending data to the central Splunk instance.

Step 5: Install Splunk on the Inventory and Audit Reader

The Splunk Universal Forwarder that is running on the Inventory and Audit Reader must be running as a domain account. The domain accounts must have the following characteristics:

  • Local Administrator
  • Add-SPShellAdmin (PowerShell Farm Administrator)

To add the database permissions properly, ensure you run the following command using machine administrator from a farm administrator account that has shell admin privileges to SharePoint_Config:

Get-SPDatabase | Add-SPShellAdmin -UserName 'DOMAIN\user'

Where DOMAIN\user is the username of the user running the Splunk Universal Forwarder.

If you have multiple farms, then the user involved is probably different for each farm. Each farm will need their own Inventory and Audit Reader.

Step 6: Deploy Add-ons to the SharePoint servers

The following add-ons need to be deployed to each server:

Ensure you follow the instructions for enabling the Audit and Inventory inputs on the Audit and Inventory Reader

Step 7: Add cs-host to the SharePoint site logging

Normally, the full URL that the user types in is not available in the logs. You need to adjust the logging specification for each web site in IIS as follows:

  • Open up the IIS Manager
  • Select the SharePoint Site
  • Select Logging
  • Click on Select Fields
  • Check the box next to cs-host
  • Click on OK
  • Under Actions, click on Apply
  • Repeat steps 2-7 for each additional SharePoint site and host

This needs to be completed on each SharePoint host that answers IIS queries (which is generally all of them).

Step 8: Add Users to the SharePoint role

Part of the app install will also enable a sharepoint role. Add users that will view the SharePoint data to the sharepoint role. Without this step, they may not be able to see the relevant data. As an alternative to this process, you can also edit the eventtypes supplied with the app to indicate which index the data resides in.

Step 9: Wait 1 hour

We need some data from the inventory and this is gathered on a regular basis. In general, this data is collected within the first hour of operation.

Step 10: Regenerate Lookup Files

There is a dashboard under Searches and Reports -> Lookup Generators called the Lookup Table Builder. Use it to generate all the lookup tables.

Step 11: Check Errors

Log into Splunk and open the Splunk App for SharePoint. Select Health -> Farm Errors. All errors in this report are significant.

Errors

If the modular inputs show errors, they will show up in the splunkd.log file. The most common will be something to the effect "SPFarm.Local == null", which would indicate a permissions problem. Specifically, the user that is being used to run the Splunk Universal Forwarder on the Audit and Inventory reader has not been added to the SPShellAdmin list with Add-SPShellAdmin.

If you get Farm Errors showing an SqlException 80131904, then it is likely that you have not provided access to all the databases. Log on to the Central Administration host as a farm administrator with shell admin rights on SharePoint_Config; bring up a PowerShell host using "Run as Administrator", and type the following:

Add-PsSnapIn Microsoft.SharePoint.PowerShell
Get-SPDatabase | Add-SPShellAdmin -UserName 'DOMAIN\user'

Replace the DOMAIN\user with the username of the user running the Splunk Universal Forwarder.

Performance Issues

The most normal performance issue is from the Inventory and Audit Reader. I recommend running this on a separate host if performance is an issue.

Release Notes

Version 0.2.1
Nov. 22, 2014

Open source license, plus removal of TA as it is now separate.

Version 0.1.7
Nov. 21, 2013

Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.