Splunk for net developers

Post on 22-Nov-2014

410 views 3 download

Tags:

description

This is my talk at Splunk .Conf on our new .NET Developer tools

transcript

Copyright © 2014 Splunk Inc.

Glenn BlockSenior Product Manager, Splunk

Splunk for .NET Developers

2

DisclaimerDuring the course of this presentation, we may make forward looking statements regarding future events or the

expected performance of the company. We caution you that such statements reflect our current expectations and estimates based on factors currently known to us and that actual events or results could differ materially. For important

factors that may cause actual results to differ from those contained in our forward-looking statements, please review our filings with the SEC. The forward-looking statements made in the this presentation are being made as of the time and date of its live presentation. If reviewed after its live presentation, this presentation may not contain current or accurate information. We do not assume any obligation to update any forward looking statements we may make. In addition, any information about our roadmap outlines our general product direction and is subject to change at any time without notice. It is for informational purposes only and shall not, be incorporated into any contract or other

commitment. Splunk undertakes no obligation either to develop the features or functionality described or to include any such feature or functionality in a future release.

https://github.com/glennblockhttps://twitter.com/gblock

“I should be tweeting"

My Background and Role

Oreilly - DEWANET

6

Powerful Platform for App Developers

7

REST API

Build Splunk Apps Extend and Integrate Splunk

Simple XML

HTML5

JavaScript

Web Framework

JavaJavaScriptPython

RubyC#PHP

Data Models

Search Extensibility

Modular Inputs

SDKs

8

CC image Dorothy… not in Kansas by Alex Beattie Flickr

.NET is not the same platform you remember

9

async/await

10

Reactive Extensions

11

12

Portable Class Libraries

13

Portable Class Libraries

14

IOS, Android, Linux and Mac via Xamarin

Screenshot from Xamarin.com

Splunk tools for

.NET Developers

16

Supercharge your .NET development!

CC image Supercharger by Eaday on Flickr

Splunk SDK for C# v2

18

What’s special about the new SDK?Modern API, what C# developers will expect100% asynchronousSupports Reactive Extensions (great for realtime searches)Cross Platform Testable

Log directly to Splunk and extend Splunk with new

Inputs

Integrate search results with other applications using

custom visualizations

Create and run searches

Splunk SDK

19

VisualizeSearch Manage

Add/Delete Users

Manage Inputs

Index

DEMOSDK Client

Async, portable goodness

DEMOModular inputs

Teach Splunk new ways to get data

Logging Libraries

Many choices for logging

http://aka.ms/slab

http://nlog-project.org

Splunk Logging Libraries for .NETA tale of two loggers

ETW/SLAB.NET Tracing

24

App

Trace Listener

Splunk

Log to a TraceSource

Events are sent to or Splunk via UDP or TCP

App

EventSource

Splunk

Log to ETW via an EventSource

SLAB Sink

UDP or TCP sink picks up events via SLAB and sends to Splunk

DEMO

Logging

Your favorite loggers send to Splunk

26

Logging Directly to SplunkEverything you need to wire up your existing apps to log directly over UDP or TCP to a Splunk instance or forwarder

Standard .NET Trace Listeners – use log4net, NLog and Enterprise Library.Support for the Semantic Logging Application Block (SLAB) – use the the high performance ETW Windows infra

NuGet

28

All our new libraries are nuget packagesSplunk.ClientSplunk.ModularInputsSplunk.Logging.TraceListenerSplunk.Logging.SLAB

Splunk Extension for VS

30

Splunk Extension for Visual StudioTemplate for using the Splunk Client and logging libraries.Template for creating a C# modular input.Code snippets

DEMO

VS Extension

Don’t leave home without it!

Wrap up!

33

CC image Dorothy… not in Kansas by Alex Beattie Flickr

.NET is not the same platform you remember!!!

34

…BUT

You have a new set of .NET tools for Splunk Development!

• Splunk SDK – Integrate with or extend Splunk• Logging Libraries - Easily wire up your apps to send log data• VS extension - Streamline your development with our new libraries

Where to go for More InfoTutorials, Code Samples, Getting Started, Downloads– http://dev.splunk.com/

Support– https://www.splunk.com/page/submit_issue

GitHub– https://github.com/splunk/

Twitter– https://twitter.com/splunkdev or follow me: https://twitter.com/gblock

Blog– http://blogs.splunk.com/dev/

35

Q&A

THANK YOU