What's new? | Help | Directory | Sign in
Google
  
  
  
  
    
Search
for
Updated Apr 06, 2008 by kordless
WebReport  
Sample web reporting tool using Splunk .NET SDK

Introduction

While Splunk server provides powerful reporting abilities, the possibilities for developing your own custom reporting solution are almost endless. All you need is the Splunk .NET SDK and a charting component of your choice. In this article we'll introduce how you can easily build a simple web report in Visual Studio 2005.

Details

Requirements

  1. Splunk server with indexed http server logs
  2. Splunk .NET SDK library
  3. Any charting library compatible with .NET
  4. Visual Studio 2005 with .Net framework installed

Preparation

Development steps

Usage

The sample project with source and executables can be downloaded here.

At launch, our sample will ask you to provide server url and authentication data. After clicking the Connect button, it will try to establish a connection with that server.

If connection was successful, you can select start and end time for your report using time picker controls on the top of the form. Click the "Generate" button when you select the time range.

The form will update and charts will appear on the form.

You can connect to a different server by entering a new address in Server URL field and clicking the "Generate" button. You'll be asked user credentials and then follow previous steps to generate a new report.


Sign in to add a comment