SplunkLive! Washington DC May 2013 - Developer Session


Published on

Published in: Technology, Travel
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • SplunkTelJS ExamplesTwitterViz
  • SplunkTelJS ExamplesTwitterViz
  • The REST API: Exposes an API method for every feature in the productWhatever you can do in the UI – you can do through the APIAPI is RESTfulEndpoints are served by splunkdRequests are GET, POST, and DELETE HTTP methodsResponses are Atom XML Feeds JSON everywherein Splunk 5.0 and higherSearch results can be output in CSV/JSON/XML
  • Index: Insert events directly to Splunk (TCP, UDP, HTTP)SearchRun ad-hoc searches or existing saved searchesExtract data from SplunkVisualize: Integrate search results into third-party reporting tools, portals, or other custom applicationsManageAdd/remove Splunk users and rolesCreate inputs
  • At Splunk, we’re committed to empowering developers to work with the languages, tools and frameworks you know and love.Working with Big Data shouldn’t involve having to completely retool from the ground up – the Splunk platform enables you to leverage existing standards and modern approaches for doing full-stack development.Stay true to the semantics of the particular languagee.g. Keep Python “pythonicIDE supportCover REST API endpoints based on use cases of language and customer feedbackProvide implementations that feel familiar to you (Spring, Visual Studio, etc.)Entry point into Service Class for REST API callsInstantiate an object to connect and login
  • UsingSplunk on development and testing to improve application quality and time-to-releaseContinuous integration: jenkins, bambooUnit tests writing to Splunk
  • Tim Berners-Lee, the inventor of the World Wide Webdefines the Semantic Web as "a web of data that can be processed directly and indirectly by machines."
  • Developers can use the Splunk SDKs to: Run real-time searches and retrieve Splunk data from line-of-business systems like Customer Service applications Integrate data and visualizations (charts, tables) from Splunk into BI tools and reporting dashboardsBuild mobile applications with real-time KPI dashboards and alerts powered by Splunk Log directly to Splunk from remote devices and applications via TCP, UDP and HTTPBuild customer-facing dashboards in your applications powered by user-specific data in Splunk Manage a Splunk instance, including adding and removing users as well as creating data inputs from an application outside of SplunkProgrammatically extract data from Splunk for long-term data warehousing
  • Use Python Command Line examples for: http://dev.splunk.com/view/SP-CAAAEFKAuth,SearchListing AppsAlertsUpload a data input fileCommand line utliities (get out of PPT).
  • SplunkLive! Washington DC May 2013 - Developer Session

    1. 1. Copyright © 2013 Splunk Inc.Introduction to Splunk’sDeveloper PlatformScott Spencer – Senior Federal Sales EngineerNeeraj Luthra – Senior Product Manager, Developer Platform
    2. 2. AgendaDemosThe Splunk Developer PlatformUsing Splunk for Application DevelopmentMore DemosSupport and Community2
    3. 3. Demos
    4. 4. The Splunk Developer Platform
    5. 5. The Splunk Platform5CollectionIndexingSearch Processing LanguageCore FunctionsInputs, Apps, OtherContentSDKUIREST APIOperational Intelligence PlatformContentCore EngineUser and Developer Interfaces
    6. 6. Hooking into the Splunk Platform6CollectionIndexingSearch Processing LanguageCore FunctionsInputs, Apps, OtherContentSDKUIREST APIOperational Intelligence PlatformContentCore EngineUser and Developer InterfacesDevelopersDevelopers
    7. 7. Enabling Developers7
    8. 8. Using Splunk forApplication Development
    9. 9. Top TakeawaysUse Splunk to ACCELERATE DEV &TEST and gain Application IntelligenceCUSTOMIZE AND EXTEND the powerof Splunk with the SKILLS YOUALREADY HAVE
    10. 10. Use Splunk to Accelerate Dev & TestGet apps ready for production faster (DevOps)Find and fix bugs quickerTrace transactions in real-timeBuild intelligence into your appsUse semantic logging to gather better insights10
    11. 11. Semantic Logging• Log anything that adds value when aggregated, charted, or analyzedExample Pseudo-Code:void submitPurchase(purchaseId){log.info("action=submitPurchaseStart, purchaseId=%d", purchaseId)//these calls throw an exception on errorsubmitToCreditCard(...)generateInvoice(...)generateFullfillmentOrder(...)log.info("action=submitPurchaseCompleted, purchaseId=%d", purchaseId)}• Human-readable events• Properly formatted timestamps• Key-Value pairs (JSON Logging)• Separate out multi-value events• Unique transaction identifiersCreate logs with
    12. 12. Customize And Extend Splunk12Integrate data fromSplunk into existing appsBuild custom Big Dataapps powered by SplunkDeliver Operational Intelligence to marketing, sales, customer service, and otherdivisions outside of IT, in the applications that they already use.REST API, SDKs, App Framework
    13. 13. http://dev.splunk.com
    14. 14. More Demos
    15. 15. You Already Know TheseDev
    16. 16. Support andCommunity
    17. 17. The Splunk Developer Community17Splunkbase
    18. 18. Where to go for More InfoTutorials, Code Samples, Getting Started, Downloads– http://dev.splunk.com/Support– https://www.splunk.com/page/submit_issueGitHub– https://github.com/splunk/Twitter– https://twitter.com/splunkdevBlog– http://blogs.splunk.com/dev/18
    19. 19. http://dev.splunk.com
    20. 20. Thank You