Copyright 2014 Splunk Inc. Splunk for.net Developers Glenn Block Senior Product Manager, Splunk
Disclaimer 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. 2
IntroducHon and background
Agenda! IntroducHon and background Splunk as a PlaVorm! New Splunk tools for.net Developers! Wrap- Up 4
My Background and Role I should be tweehng" hxps://github.com/glennblock hxps://twixer.com/gblock
Oreilly DEWANET 6
Powerful PlaVorm for Enterprise Developers Build Splunk Apps Extend and Integrate Splunk Web Framework Simple XML HTML5 JavaScript SDKs Java JavaScript Python Ruby C# PHP Data Models Search Extensibility Modular Inputs REST API 7
.NET is Changing CC image Dorothy not in Kansas by Alex Beaie Flickr 8
async/await 9
ReacHve Extensions 10
11
Portable Class Libraries 12
Portable Class Libraries 13
IOS, Android, Linux and Mac via Xamarin Screenshot from Xamarin.com 14
Splunk Tools for.net Developers
Supercharge Your.NET Development! 16
Splunk SDK for C# V2
What s Special About the New SDK?! Modern API, what C# developers will expect! 100% asynchronous! Supports ReacHve Extensions (great for real- Hme searches)! Cross PlaVorm! Testable 18
Splunk SDK Index Search Visualize Manage Log directly to Splunk and extend Splunk with new inputs Create and run searches Integrate search results with other applicahons using custom visualizahons Add/Delete users Manage inputs 19
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.net Tracing ETW/SLAB App Log to a TraceSource App Log to ETW via an EventSource UDP or TCP sink picks up events via SLAB and sends to Splunk Trace Listener EventSource SLAB Sink Events are sent to or Splunk via UDP or TCP Splunk Splunk 24
DEMO Logging Your favorite loggers send to Splunk
Logging Directly to Splunk! 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 26
NuGet
All Our New Libraries Are Nuget Packages! Splunk.Client! Splunk.ModularInputs! Splunk.Logging.TraceListener! Splunk.Logging.SLAB 28
Splunk Extension for VS
Splunk Extension for Visual Studio! 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 30
DEMO VS Extension Don t leave home without it!
Wrap up!
! Splunk.Client! Splunk.ModularInputs! Splunk.Logging.TraceListener! Splunk.Logging.SLAB Splunk NuGet Packages 33
What Did We Learn Today?! 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 34
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