splunkfor.net developers...splunk*extension*for*visual*studio* 30!...
TRANSCRIPT
Copyright © 2014 Splunk Inc.
Glenn Block Senior Product Manager, Splunk
Splunk for .NET Developers
Disclaimer
2
During the course of this presentaHon, we may make forward-‐looking statements regarding future events or the expected performance of the company. We cauHon you that such statements reflect our current expectaHons and
esHmates 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 presentaHon are being made as of the Hme and date of its live presentaHon. If reviewed aRer its live presentaHon, this presentaHon may not contain current or accurate informaHon. We do not assume any obligaHon to update any forward-‐looking statements we may make. In addiHon, any informaHon about our roadmap outlines our general product direcHon and is subject to change at any Hme without noHce. It is for informaHonal purposes only, and shall not be incorporated into any contract or other commitment. Splunk undertakes no obligaHon either to develop the features or funcHonality described or to
include any such feature or funcHonality in a future release.
IntroducHon and background
Agenda
! IntroducHon and background – Splunk as a PlaVorm ! New Splunk tools for .NET Developers ! Wrap-‐Up
4
hXps://github.com/glennblock hXps://twiXer.com/gblock
“I should be tweeHng"
My Background and Role
Oreilly – DEWANET
6
Powerful PlaVorm for Enterprise Developers
7
REST API
Build Splunk Apps Extend and Integrate Splunk
Simple XML
HTML5
JavaScript
Web Framework
Java JavaScript Python
Ruby C# PHP
Data Models
Search Extensibility
Modular Inputs
SDKs
.NET is Changing…
8
CC image Dorothy… not in Kansas by Alex Beaie Flickr
async/await
9
ReacHve Extensions
10
11
Portable Class Libraries
12
Portable Class Libraries
13
IOS, Android, Linux and Mac via Xamarin
14
Screenshot from Xamarin.com
Splunk Tools for .NET Developers
Supercharge Your .NET Development!
16
CC image Supercharger by Eaday on Flickr
Splunk SDK for C# V2
What’s Special About the New SDK?
18
! Modern API, what C# developers will expect ! 100% asynchronous ! Supports ReacHve Extensions (great for real-‐Hme searches) ! Cross PlaVorm ! Testable
Log directly to Splunk and extend Splunk with new
inputs
Integrate search results with other applicaHons using
custom visualizaHons
Create and run searches
Splunk SDK
19
Visualize Search Manage
Add/Delete users
Manage inputs
Index
DEMO SDK Client async, portable goodness
DEMO Modular Inputs Teach Splunk new ways to get data
Logging Libraries
Many Choices for Logging
Splunk Logging Libraries for .NET A 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
Logging Directly to Splunk
26
! Everything you need to wire up your exisHng apps to log directly over UDP or TCP to a Splunk instance or forwarder
! Libraries include standard .NET Trace Listeners which popular OSS logging frameworks like log4net, NLog and Enterprise Library support
! Libraries also include support for the SemanHc Logging ApplicaHon Block (SLAB), which leverages the high performance ETW infrastructure that ships in Windows
NuGet
All Our New Libraries Are Nuget Packages
28
! Splunk.Client ! Splunk.ModularInputs ! Splunk.Logging.TraceListener ! Splunk.Logging.SLAB
Splunk Extension for VS
Splunk Extension for Visual Studio
30
! A template for creaHng a new .NET Project using the Splunk Client, and opHonally using the new logging libraries to send log data over TCP or UDP
! Snippets for performing common tasks using the Splunk Client, which you can use in any .NET applicaHon that references the Splunk SDK for C#
! A template for creaHng a custom C# Modular Input
DEMO VS Extension Don’t leave home without it!
Wrap up!
Splunk NuGet Packages
33
! Splunk.Client ! Splunk.ModularInputs ! Splunk.Logging.TraceListener ! Splunk.Logging.SLAB
What Did We Learn Today?
34
! Splunk has introduced a new set of .NET tools ! Use the Splunk SDK to develop soluHons integrate or extend Splunk ! Use the Logging Libraries to easily wire up your apps to send log data
! Use the VS extension to streamline your development with our new libraries
Where to go for More Info • Tutorials, Code Samples, Geing Started, Downloads
– hXp://dev.splunk.com/
• Support – hXps://www.splunk.com/page/submit_issue
• GitHub – hXps://github.com/splunk/
• TwiXer – hXps://twiXer.com/splunkdev or follow me: hXps://twiXer.com/gblock
• Blog – hXp://blogs.splunk.com/dev/
35
Q&A
Special Offer: Try Splunk MINT Express for Free! Splunk MINT offers a fast path to mobile intelligence. How fast?
Find out with a 6-‐month trial*
• Register for your free trial: hXp://mint.splunk.com/conf2014offer
• Download the Splunk MINT SDKs • Add the Splunk MINT line of SDK code and publish**
• Start geing digital intelligence at your fingerHps!
*Offer valid for .conf2014 a5endees and coworkers of a5endees only.
**Trial allows monitoring of up to 750,000 monthly acDve users (MAUs).
37
THANK YOU