building*your*firstsplunk*app* with*the*splunk*web*framework* › session › 2013 ›...

12
Copyright © 2013 Splunk Inc. Itay Neeman Dev Manager, Splunk Sea@le #splunkconf Building Your First Splunk App with the Splunk Web Framework

Upload: others

Post on 29-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

Copyright  ©  2013  Splunk  Inc.  

Itay  Neeman  Dev  Manager,  Splunk  Sea@le  #splunkconf  

Building  Your  First  Splunk  App  with  the  Splunk  Web  Framework  

Page 2: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

Legal  NoMces  During  the  course  of  this  presentaMon,  we  may  make  forward-­‐looking  statements  regarding  future  events  or  the  expected  performance  of  the  company.  We  cauMon  you  that  such  statements  reflect  our  current  expectaMons  and  esMmates  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  this  presentaMon  are  being  made  as  of  the  Mme  and  date  of  its  live  presentaMon.    If  reviewed  aUer  its  live  presentaMon,  this  presentaMon  may  not  contain  current  or  accurate  informaMon.      We  do  not  assume  any  obligaMon  to  update  any  forward-­‐looking  statements  we  may  make.    In  addiMon,  any  informaMon  about  our  roadmap  outlines  our  general  product  direcMon  and  is  subject  to  change  at  any  Mme  without  noMce.    It  is  for  informaMonal  purposes  only  and  shall  not,  be  incorporated  into  any  contract  or  other  commitment.    Splunk  undertakes  no  obligaMon  either  to  develop  the  features  or  funcMonality  described  or  to  include  any  such  feature  or  funcMonality  in  a  future  release.  

 

Splunk,  Splunk>,  Splunk  Storm,  Listen  to  Your  Data,  SPL  and  The  Engine  for  Machine  Data  are  trademarks  and  registered  trademarks  of  Splunk  Inc.  in  the  United  States  and  other  countries.  All  other  brand  names,  product  names,  or  trademarks  belong  to  their  respecCve  

owners.    

©2013  Splunk  Inc.  All  rights  reserved.  

2  

Page 3: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

About  Me  

!   At  Splunk  for  just  over  2  years  (Sea@le  FTW!)  ! Dev  Manager  for  the  Developer  Pla[orm  engineering  team  

!   Likes  long  walks  on  the  beach?  J  

3  

Page 4: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

Agenda  

!   Let’s  build  an  app  together    

4  

Page 5: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

Powerful  Pla[orm  for  Enterprise  Developers  

5  

REST  API  

Build  Splunk  Apps   Extend  and  Integrate  Splunk  

Simple  XML  

JavaScript  

Django  

Web    Framework  

 

Java  JavaScript  Python    

Ruby  C#  PHP  

Data  Models  

Search  Extensibility  

Modular  Inputs  

SDKs  

Page 6: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

Prelude  

6  

!   Pre@y  much  this  enMre  session  will  be  building  a  simple  app  !   Nearly  no  slides  !   Goal  is  to  show  the  basic  building  blocks  of  the  Web  Framework  

!   By  the  end,  we  should  have  some  interacMve  dashboards,  a  custom  visualizaMon,  and  even  a  customized  setup  page  

Page 7: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

Let’s  Go!  

7  

!   Download  app  stencil  here:  …  

!   Download  Web  Framework  Toolkit  here:  …  

Page 8: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

Demo!    

Page 9: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

Summing  Up  

9  

!   Web  Framework  is  just  HTML/JS/CSS  (and  Python  if  you  want  it)  !   Only  need  to  use  Splunk  specific  parts  if  you  want  to  !   Splunk  apps  are  web  apps  

Page 10: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

Where  to  Go  for  More  Info  !   Tutorials,  Code  Samples,  Geong  Started,  Downloads  

–  h@p://dev.splunk.com/  

!   Support  –  h@ps://www.splunk.com/page/submit_issue    

! GitHub  –  h@ps://github.com/splunk/  

!   Twi@er  –  h@ps://[email protected]/splunkdev    

!   Blog  –  h@p://blogs.splunk.com/dev/    

  10  

Page 11: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

Learn  More  at  .conf2013  

11  

Tuesday   Wednesday   Thursday  

Customize  and  Extend  with  the  Splunk  Pla[orm  Paul  Sanford  

IntegraMng  Splunk  Data  and  FuncMonality  Using  the  Splunk  SDK  for  C#    Adrian  Hall  &Hal  RoNenberg  

Using  Search  Extensibility  and  Modular    Inputs  to  ProgrammaMcally  Extend  the  Power  of  Splunk    Itay  Neeman  

Developing  Highly  Instrumented,  Splunk-­‐  friendly  ApplicaMons  with  Minimal  Effort  Tim  Hobson  (Intuit)  

IntegraMng  Splunk  Data  and  FuncMonality  Using  the  Splunk  SDK  for  Java    Damien  Dallimore  

How  to  Write  Modular  Inputs  Igor  Stojanovski        

Introducing  the  Splunk  Web  Framework    Mark  Groves  &  Marshall  Agnew  

How  and  When  to  Use  Dynamic  Lookups    Nimish  Doshi  

Building  your  First  Splunk  App  with  the  Splunk  Web  Framework  Itay  Neeman    Data  Models  for  Developers  David  Hazecamp  &  Alice  Neel  IntegraMng  Splunk  Data  and  FuncMonality    with  the  Splunk  SDKs  for  JavaScript,  Ruby,  PHP  and  Python    Itay  Neeman  

Page 12: Building*Your*FirstSplunk*App* with*the*Splunk*Web*Framework* › session › 2013 › DG62603... · Prelude 6! Pre@y*much*this*enMre*session*will*be*building*asimple*app* Nearly*no*slides*

THANK  YOU