SlideShare una empresa de Scribd logo
1 de 44
Splunking the Java Virtual Machine(JVM)

       Presented by Damien Dallimore
       Developer Evangelist at Splunk

Copyright © 2012 Splunk Inc.
About me
•       Developer Evangelist at Splunk since July 2012
    •     http://dev.splunk.com
    •     http://splunk-base.splunk.com
    •     Slides available for my “Using the Java SDK” session

•       Splunk Community Member
    •     Splunk for JMX
    •     SplunkJavaLogging
    •     SplunkBase Answers
•       Splunk Architect and Administrator
•       Coder, hacker, architect of Enterprise Java solutions around the globe in
        many different industries(aviation, core banking, card payments etc…)
•       If Splunk had been there at the start of my career I would have a lot
        more hair today 


                                             2
Agenda

•   The JVM Landscape

•   JVM Machine Data

•   Splunk for JMX

•   Community Projects – call to arms

•   Questions (feel free to yell out at any time also)
The JVM Landscape
What is this JVM thing ?
•   Circa 1991, Dr. James Gosling at Sun started developing a
    technology for next generation smart devices/appliances
•   “Green” became “Oak” which became “Java”
•   Java 1.0 first appeared in January 1996.
•   The JVM is a virtual machine that runs programs that are
    compiled into Java bytecode
•   Available for many hardware and software platforms
•   17 years later , the JVM has evolved from a consumer device
    technology, to a browser oriented technology with the explosion
    of the web , to now becoming deeply rooted in the enterprise
    software landscape on the server side and in the cloud
                                 5
17 years later
                                                                       •   Oracle took ownership of Java from Sun in
                                                                           January 2010
                                                                       •   The Java Community Process(JCP) is the
                                                                           forum where members develop
                                                                           specifications for Java technology
                                                                       •   Java Specification Requests(JSR) get
                                                                           submitted for new features, are reviewed and
                                                                           then voted on by the JCP Executive
Application Servers   Enterprise Service Buses   Databases
                                                                           committee.
NoSQL                 Distributed Big Data       Web Servers
                                                                       •   Editions
                                                                            • Embedded Java, Java ME , Java SE , Java EE
Directory Servers     Search Engines             Build Systems         •   Current Version is Java 7 (Dolphin)
                                                                       •   Java 8 scheduled for 2013
Gaming Platforms      Trading Systems            Reservation Systems

Core Banking          Messaging Infrastructure   Proprietary Systems


                                                                 6
JVM Variants
•       Oracle Hotspot (formerly SUN)
    •        the primary reference JVM implementation
•       Oracle JRockit (formerly BEA)
    •        free since May 2011
    •        code base currently being merged with Hotspot, ETA ~JDK 8
•       Open JDK
    •        SUN open sourced Hotspot and the Java class library in 2006
    •        Slight differences with Oracle Java still
    •        OpenJDK is the official Java SE7 Reference Implementation

•       J9
    •        IBM’s JVM for AIX, Linux, MVS, OS/400, Pocket PC, z/OS
•       Azul Systems Zing
    •        based on HotSpot
    •        supports memory heaps up to 512 GB without GC pauses and is able to grow and shrink
             the heap based on load

http://en.wikipedia.org/wiki/List_of_Java_virtual_machines

                                                    7
The JVM has a healthy future
•    Hotspot / JRockit code merge creating a best of breed JVM, Oracle to contribute this to OpenJDK

•    OpenJDK is thriving, Oracle are contributing and being good stewards of Java (despite initial
     skepticism)

•     Proliferation of alternative JVM languages that can all co-habitate in the JVM and new features in Java
      8 to further enhance this multi language platform
    •     Scala
    •     Groovy
    •     Clojure

•    The JVM is evolving organically with the shifting tides of Enterprise software, it isn’t about the “J”
     anymore.

•     From the clustered Application Server domination of the 00’s we now see an explosion of Big Data
      products running in massively distributed environments on commodity hardware or in the cloud
    •     Apache Hadoop family (MapReduce, Hive, Hbase, Cassandra, HDFS)



                                                      8
What is running in JVMs ?




            9
JVM “Fanboi”

                          Speaking of Java as a language as opposed
Fanboi      Dr. Gosling   to the JVM platform, James Gosling, the
                          Father of Java, said "Most people talk about
                          Java the language, and this may sound odd
                          coming from me, but I could hardly care
                          less."
                          He went on to explain, "What I really care
                          about is the Java Virtual Machine as a
                          concept, because that is the thing that ties it
                          all together."




                  10
JVM Machine Data
JVM Machine Data
•   The JVM footprint cross cuts the data centre and represents a massive source of valuable machine data
•   Large scale Application/Web Server clusters
•   Hadoop & Cassandra Node topologies in the 100’s and in some cases 1000’s


Custom Developed Code
          WAR file            CORRELATE      JMX, Developer Logs, Splunk Java SDK, SplunkJavaLogging

    Application Code
          Tomcat                             JMX, Application Logs

           JVM
          Hotspot                            JMX, SNMP, HPROF,GC Logs, Custom Agents, Usage Tracker

    Operating System
           Linux
                                             JVM process OS resource metrics


                                                         12
Application & Developer Logs
                           Splunk Indexer                   •   Application logs
                                                                 • default logs that are part of the
                                                                     product
                        Splunk Universal Forwarder          •   Developer logs
                                                                 • any custom code created and deployed
                                                                     to the application that has it’s own
                                                                     logging
Developed Code
                                                            •   Written to local disk or a mounted network
                      M onitor Log Files/ Directorys
  Application                                                   volume
     JVM                                                    •   Monitor with a Splunk UF
      OS




                                                       13
Splunk Java SDK / SplunkJavaLogging
                                         Splunk Indexer
                 HTTP$REST$/$TCP$/$UDP                         •   Alternative to writing to log file or
Developed Code                                                     needing to deploy a Splunk Universal
                                                                   Forwarder
  Application                                                  •   Use the Splunk Java SDK to input events
                                                                   directly to Splunk via HTTP Rest.
     JVM                                                       •   Use SplunkJavaLogging to input events
                                                                   directly to Splunk using custom logging
                                                                   appenders.
      OS
                                                               •   Come to my “Using the Java SDK”
                                                                   session for more on this !!




                                                          14
JVM Process OS Metrics
                                     Splunk Indexer

                                                                 •   By JVM Process ID : Process
                                                                     State, Memory, CPU, Disk Usage, Disk
                                    Splunk for Unix or Linux
                                                                     I/O, Network I/O, File Descriptor Usage.
                                                                 •   Some OS metrics also exposed via JMX
Poll output from
                                                                 •   Splunk for Unix and Linux
                                         M onitor Log Files &
commands                                 Directorys              •   Splunk for Windows
                                                                 •   Correlate this OS data across your JVM and
                   Developed Code                                    Application events ie: your JVM may have hung
                     Application
                                                                     because of CPU starvation caused by some other
                                                                     process thrashing
                        JVM

                         OS




                                                                15
Garbage Collection logs
                           Splunk Indexer            •    Extended Hotspot JVM options

                                                     -verbose:gc
                                                     -Xloggc:/home/damien/jvm_logs/gc.log
                        Splunk Universal Forwarder   -XX:+PrintGC
                                                     -XX:+PrintGCTimeStamps
                                                     -XX:+PrintGCDetails
Developed Code
                                                     •    The log is written to at Garbage Collection time
  Application                                        •    Be careful , can affect performance
                                                     •    Need to perform field extractions in Splunk
     JVM           Monitor GC Log Files
                                                     •    GC metrics also available via JMX
      OS
                        54.736: [Full GC 54.737:
                        [Tenured: 172798K->18092K(174784K), 2.3792658 secs] 257598K->18092K(259584K),
                        [Perm : 20476K->20476K(20480K)], 2.4715398 secs] [Times: user=0.56 sys=0.05, real=0.07 secs]

                                                     16
Custom JVMTI Agents (Advanced)
                               Splunk Indexer
                                                                    •   Java Virtual Machine Tool Interface
                                                                    •   Write custom agents that get injected into
                REST/TCP/UDP                                            the natively running JVM
                                                                    •   Dynamically inspect the state of applications
                                       Splunk Universal                 running in the JVM
Developed Code                         Forwarder
                                                                    •   Profiling, debugging, monitoring, thread/me
  Application
                                                                        mory analysis…the JVMTI Interface has
                                                                        extensive coverage
     JVM                             Monitor Agent Log Files        •   As you write the agent code , the data
                                                                        output can be file based or over the
      OS
                                                                        network



                                                               17
Usage Tracker for Oracle JVMs
                                                        •      Enable via a JVM system property and a config file
                       Splunk Indexer
                                                        -Dcom.oracle.usagetracker.config.file=/path/usagetracker.properties

                                                        •      Output to CSV file or over UDP
                                                            VM start,
                 UDP                                        Fri Oct 22 14:13:03 BST 2010,
                                                            examplehost/192.0.2.0,
                               Splunk Universal             AppName,
                               Forwarder                    /path/to/jre,
Developed Code                                              1.7.0,
                                                            19.0-b09,
  Application                                               Oracle Corporation,
                                                            Oracle Corporation,
                                                            Linux,
     JVM                     Usage Tracker Log Files        i386,
                                                            2.6.29.x86_64,
                                                            -Xmx128m,
      OS                                                    /opt/programs,
                                                            user.home=/home/username foo.bar=null


                                                        •      All these metrics also available via JMX

                                                       18
SNMP
                                                    Splunk Indexer
                                                                         •   The JVM SNMP Agent provides a single MIB that exposes the
                                                                             JVM’s Management and Monitoring API
                                                                         http://docs.oracle.com/javase/1.5.0/docs/guide/management/JVM-MANAGEMENT-MIB.mib
                                                    Splunk Universal

Developed Code
                                                    Forwarder
                                                                         •   Setup the JVM (just the basic settings shown)
                  SNMP%  Objects%
                  Polled
  Application                                                  JVM MIB
                                                                         Open a UDP Port : -Dcom.sun.management.snmp.port=9004
     JVM                                                                 Configure the ACL : $JAVA_HOME/jre/lib/management/snmp.acl

      OS
                                                                         •   Traps can be caught locally to file and monitored
                 SNMP% Traps%
                 wri6en% file
                        to%                                              •   A scripted input on the Splunk UF can poll the JVM SNMP Objects

                                                                         pysnmp python module : http://pysnmp.sourceforge.net
                                snmptrapd UDP:162
                                                                         snmpget command : http://www.net-snmp.org/docs/man/snmpget.html
                                                                         There is a nice example of this on SplunkBase
                                                                                          19
HPROF Profiling Dumps
                                      Splunk Indexer
                                                        •   Binary JVM dumps that allow for deeper JVM resource
                                                            inspection
                                                        •   Typical use case is diagnosing memory issues after JVM
                                                            crashes with java.lang.OutOfMemoryError
                                     Splunk Universal   •   Binary file is usually batch loaded into a third party
                                     Forwarder              memory analysis tool like Eclipse MAT
                                                        •   Generate a heap dump on demand via JMX
                          M onitor and decode into
                                                        •   Or tell the JVM to generate a heap dump under certain
Developed Code            textual key=value pairs           conditions :
                                                              •   -XX:HeapDumpPath=./java_pid<pid>.hprof
  Application
                                                              •   -XX:-HeapDumpOnOutOfMemoryError
     JVM                                                •   But what if we could Splunk this awesome source of
                                                            information, this could be really useful in dev/test !
      OS         Binary HPROF dump file
                                                        Warning : heap dumping is an expensive operation as a full GC gets performed


                                                             20
Splunk HPROF Decoder
•   A scripted input that monitors for HPROF file dumps , reads the binary file in
    and rolls it out into key=value format for Splunking
•   Deploy the Scripted input to a Universal Forwarder
•   Use Splunk for JMX to periodically trigger an HPROF dump via a JMX operation
•
                                                                                                                 Splunk Universal
    Splunk is now a JVM Heap Profiling utility                                                                   Forwarder


•   Diagnose Heap issues before they hit production                                                 M onitor and decode into

•
                                                                    Trigger HPRO F file generation
    Splunk for JMX can tell you that the Heap is growing            via a JM X operation            textual key=value pairs



•   This will tell you what is causing the growth
                                                                                     JVM                Binary HPRO F dump file




                                                      21
Splunk Heap Memory Analysis




             22
JMX (Java Management Extensions)
                          Splunk Indexer
                                              •   Manage and Monitor the JVM and Application via
                                                  exposed MBeans
                                                   • JVM MBeans (java.lang domain)
                                                   • Vendor MBeans (most vendors ship their products with
                                                       extensive MBean coverage)
                                                   •   Custom Coded MBeans (whatever your devs wish to
Developed Code    JMX                                  code)
                           Splunk Universal   •   MBeans expose attributes, operations and
  Application              Forwarder              notifications to give you a powerfully dynamic
     JVM
                                                  insight into the runtime state of the JVM and your
                                                  application.
      OS                                      •   Add Splunk to the mix for historical and realtime
                                                  operational visibility, pro-active issue detection etc..
                                              •   Splunk for JMX app on SplunkBase

                                                  23
JMX vs SNMP

JMX
• Open and easily extensible
• Developers can simply create new MBeans
• Vendor products(JBoss, Cassandra, Hadoop etc..) ship with thorough MBean coverage, not MIBs

SNMP
• The built-in SNMP agent of the JVM is not extensible.
• You will not be able to use it in order to expose your own custom MIB
• If you do want to expose your own MIB, you’d have to create a custom agent




                                               24
Putting it all together, JVM Splunking Nirvana
                                                         Distributed Search




                 Splunk Indexer Cluster

                                                         Auto Load Balanced


                                          REST/TCP/UDP
                                                   JMX
          Developed Code                         Logs

                                          JMX
                                                      Splunk Forwarder
            Application
                                          Logs


                                                         JMX
               JVM
                                                               HPROF

                                                         OS*
                                                           Metrics/Logs
                OS




                                                 25
Splunk for JMX
Splunk for JMX
•   Connect to any local or remote JVM's JMX server, Hotspot/JRockit/IBM J9
•   Query any MBean running on that server
•   Extract any MBean attributes (simple, composite or tabular)
•   Invoke MBean operations
•   Write attributes and operation results out in a default key/value format, or plugin your
    own custom format, for SPLUNK indexing and searching
•   Transport events over STD OUT(default), TCP, Syslog, Splunk REST endpoint or direct to
    file.
•   Declare clusters of JVM's for larger scale JVM deployments
•   Runs on *Nix and Windows
•   Out of the box dashboards for common JVM MBeans
•   Freely available from SplunkBase, all source code is on GitHub

                                             27
Connectivity Options
Remote JMX interface
•   rmi (JSR160 Standard Implementation and MX4J's JSR160 Implementation)
•   iiop (JSR160 Standard Implementation and MX4J's JSR160 Implementation)

Direct Process attachment
•   Connect directly to a locally running JVM process

MX4J HTTP connectors (requires MX4J in the target JVM also)
•   soap , soap+sssl
•   hessian, hessian+ssl
•   burlap, burlap+ssl

                                       28
Setup and Configuration
The main goal of the app was to make it as simple and intuitive as possible to connect
to your JVMs and start Splunking JMX data
•   Enable your target JVM’s remote JMX interface , test connectivity with JConsole
•   Install Splunk for JMX
    •   Set your SPLUNK_HOME , JAVA_HOME environment variables, JRE 6+ required
    •   Extract Splunk for JMX tarball to SPLUNK_HOME/etc/apps
    •   Restart Splunk
    •   At the setup screen, choose a scripted input for your platform (Nix / Windows)
•   Setup your JMX configuration file
    •   The default config.xml file is pre configured for common JVM MBeans
    •   Browse your JVM (using JConsole) for other MBeans that you wish to poll and configure
        these
    •   You can have as many config files as you require, and you might set these up to fire off at
        different scheduled frequencies
                                                    29
Configuration Examples - Simple




•   MBean Object name format “domain:key=value,key2=value2”
•   * and ? wildcards are supported in the Mbean name


                                                Around 25KBytes per dump on Hotspot JVMs


                                           30
Configuration Examples - Clusters
                     •   Define clusters of JVM’s that share the
                         same MBean definitions
                     •   Note , in these examples, for brevity I am
                         using “dumpAllAttributes” , but in
                         production you’d want to pick and choose
                         specific MBean attributes you are
                         interested in, and perhaps split
                         definitions over multiple files run at
                         varying frequencies




                31
Configuration Examples - Operations
               •   Invoke JMX operations that return a value or simply
                   perform some action on the target JVM
               •   Operation definitions can take parameters

               Use Case 1 : your developers might code a JMX operation
               that returns a CSV or JSON formatted snapshot of some
               metrics for Splunking

               Use Case 2 : dynamically trigger HPROF dumps.
               The “com.sun.management:type=HotSpotDiagnostic”
               Mbean exposes a “dumpHeap” operation



                    32
Configuration Examples - Connecting

                      •   IP Address with credentials
                      •   Hostname
                      •   Static Process ID
                      •   Process ID lookup from file
                      •   Process ID lookup from command output
                      •   Raw JMX Service URL
                      •   MX4J HTTP Connector




                 33
Custom Formatters/Transports
•   The Splunk for JMX configuration is user extensible
•   You can code and configure your own Formatters and Transports

Formatters
• Takes the raw MBean polled output and formats it for Splunking
• A Java implementation of the "com.dtdsoftware.splunk.formatter.Formatter" interface
• If the optional formatter declaration is omitted, then the default formatter will be used


Transports
• Takes the formatted output and transports it to a destination
• A Java implementation of the "com.dtdsoftware.splunk.transport.Transport" interface
• If the optional transport declaration is omitted, then the default transport(STD out) will be used




                                                          34
Formatter Examples




        35
Transport Examples




        36
Deployment Architectures 1

         •   Simplest scenario
         •   Monolithic Splunk installation
         •   Splunk for JMX polling 1 or more remote/local JVMs via
             the remote JMX interface
         •   There is support for many target JVM’s in the
             configuration schema but to really scale out, you need a
             more advanced Splunk architecture




                 37
Deployment Architectures 2
                     Load Balancer
                                                             •   Run Splunk UF locally with target JVM.Can
                                                                 connect use remote JMX interface or
Splunk Search Head
Pool
                                                                 direct process attachment.
                                                             •   Each tier scales out horizontally.
                                                             •   Can overcome firewall issues that are
   Splunk Indexer
                                                                 sometimes inherent with Java RMI
   Cluster
                                                             •   Deploy Splunk for JMX components and
                                                                 configurations with Splunk Deployment
                                                                 Server, Puppet or Chef.

                            Splunk UF running locally
                            with target JVM




                                                        38
Community Projects – call to arms !!
Remember this slide ?




          40
SplunkBase JVM Apps
•   I’ve already started on some, but I can’t do it all myself !
•   You can use Splunk for JMX as the “kernel” upon which to build Splunk for Tomcat,
    Splunk for JBoss, Splunk for Mule etc..
•   I have found that with most of the JVM apps that I have looked at or been asked to
    build a Splunk app for, that most of the useful data is in the JMX metrics and
    operations
•   Any this can of course be augmented with any useful log data
•   Build Simple/Advanced XML dashboards
•   Bundle up the app and post it on Splunkbase, share with the community and
    perhaps someone else will create an app that you can use too
•   Note , you are publishing a common app so you can’t take into account any custom
    developer code, just the metrics and logs that are inherent to the core JVM app


                                            41
Contact Details
Always more than happy to be contacted for
questions, feedback, collaborations, ideas that will change the
world etc…


Email : ddallimore@splunk.com
SplunkBase: damiend
Github: damiendallimore
Twitter : @damiendallimore
Blog : http://blogs.splunk.com/dev
Splunk Dev Platform Team : devinfo@splunk.com
                              42
Links
Splunk for JMX: http://splunk-base.splunk.com/apps/25505/splunk-for-jmx
SplunkJavaLogging: https://github.com/damiendallimore/SplunkJavaLogging
Splunk Java SDK: http://dev.splunk.com/view/java-sdk/SP-CAAAECN
Oracle Java: http://www.oracle.com/us/technologies/java/overview/index.html
Open JDK : http://openjdk.java.net/
JMX : http://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html
Azul Zing : http://www.azulsystems.com/products/zing/whatisit
JVMTI : http://docs.oracle.com/javase/6/docs/technotes/guides/jvmti/
Usage Tracker : http://docs.oracle.com/javase/products/usagetracker.html
Usage Tracker w/ Splunk : http://javalandtales.blogspot.co.uk/#!/2012/05/using-java-usage-tracker-feature-with.html




                                                                43
Thanks for coming !

Más contenido relacionado

La actualidad más candente

Data integration with Apache Kafka
Data integration with Apache KafkaData integration with Apache Kafka
Data integration with Apache Kafkaconfluent
 
Repository Management with JFrog Artifactory
Repository Management with JFrog ArtifactoryRepository Management with JFrog Artifactory
Repository Management with JFrog ArtifactoryStephen Chin
 
Introduction to Apache Maven
Introduction to Apache MavenIntroduction to Apache Maven
Introduction to Apache MavenRajind Ruparathna
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLSeveralnines
 
Tuning Apache Kafka Connectors for Flink.pptx
Tuning Apache Kafka Connectors for Flink.pptxTuning Apache Kafka Connectors for Flink.pptx
Tuning Apache Kafka Connectors for Flink.pptxFlink Forward
 
Modern ETL Pipelines with Change Data Capture
Modern ETL Pipelines with Change Data CaptureModern ETL Pipelines with Change Data Capture
Modern ETL Pipelines with Change Data CaptureDatabricks
 
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
[오픈소스컨설팅] EFK Stack 소개와 설치 방법[오픈소스컨설팅] EFK Stack 소개와 설치 방법
[오픈소스컨설팅] EFK Stack 소개와 설치 방법Open Source Consulting
 
Apache Camel K - Copenhagen
Apache Camel K - CopenhagenApache Camel K - Copenhagen
Apache Camel K - CopenhagenClaus Ibsen
 
Kubernetes Networking - Sreenivas Makam - Google - CC18
Kubernetes Networking - Sreenivas Makam - Google - CC18Kubernetes Networking - Sreenivas Makam - Google - CC18
Kubernetes Networking - Sreenivas Makam - Google - CC18CodeOps Technologies LLP
 
Spring integration을 통해_살펴본_메시징_세계
Spring integration을 통해_살펴본_메시징_세계Spring integration을 통해_살펴본_메시징_세계
Spring integration을 통해_살펴본_메시징_세계Wangeun Lee
 
Introduction to Swagger
Introduction to SwaggerIntroduction to Swagger
Introduction to SwaggerKnoldus Inc.
 
Batching and Java EE (jdk.io)
Batching and Java EE (jdk.io)Batching and Java EE (jdk.io)
Batching and Java EE (jdk.io)Ryan Cuprak
 

La actualidad más candente (20)

Maven Introduction
Maven IntroductionMaven Introduction
Maven Introduction
 
Apache Maven
Apache MavenApache Maven
Apache Maven
 
Maven Overview
Maven OverviewMaven Overview
Maven Overview
 
Jenkins tutorial
Jenkins tutorialJenkins tutorial
Jenkins tutorial
 
Data integration with Apache Kafka
Data integration with Apache KafkaData integration with Apache Kafka
Data integration with Apache Kafka
 
Kafka internals
Kafka internalsKafka internals
Kafka internals
 
Apache kafka
Apache kafkaApache kafka
Apache kafka
 
Repository Management with JFrog Artifactory
Repository Management with JFrog ArtifactoryRepository Management with JFrog Artifactory
Repository Management with JFrog Artifactory
 
Introduction to Apache Maven
Introduction to Apache MavenIntroduction to Apache Maven
Introduction to Apache Maven
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
 
Tuning Apache Kafka Connectors for Flink.pptx
Tuning Apache Kafka Connectors for Flink.pptxTuning Apache Kafka Connectors for Flink.pptx
Tuning Apache Kafka Connectors for Flink.pptx
 
Modern ETL Pipelines with Change Data Capture
Modern ETL Pipelines with Change Data CaptureModern ETL Pipelines with Change Data Capture
Modern ETL Pipelines with Change Data Capture
 
Apache Kafka
Apache KafkaApache Kafka
Apache Kafka
 
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
[오픈소스컨설팅] EFK Stack 소개와 설치 방법[오픈소스컨설팅] EFK Stack 소개와 설치 방법
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
 
Apache Camel K - Copenhagen
Apache Camel K - CopenhagenApache Camel K - Copenhagen
Apache Camel K - Copenhagen
 
Kubernetes Networking - Sreenivas Makam - Google - CC18
Kubernetes Networking - Sreenivas Makam - Google - CC18Kubernetes Networking - Sreenivas Makam - Google - CC18
Kubernetes Networking - Sreenivas Makam - Google - CC18
 
Spring integration을 통해_살펴본_메시징_세계
Spring integration을 통해_살펴본_메시징_세계Spring integration을 통해_살펴본_메시징_세계
Spring integration을 통해_살펴본_메시징_세계
 
Apache NiFi in the Hadoop Ecosystem
Apache NiFi in the Hadoop Ecosystem Apache NiFi in the Hadoop Ecosystem
Apache NiFi in the Hadoop Ecosystem
 
Introduction to Swagger
Introduction to SwaggerIntroduction to Swagger
Introduction to Swagger
 
Batching and Java EE (jdk.io)
Batching and Java EE (jdk.io)Batching and Java EE (jdk.io)
Batching and Java EE (jdk.io)
 

Destacado

Performance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual MachinesPerformance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual MachinesAmit Banerjee
 
Virtual Machine Performance
Virtual Machine PerformanceVirtual Machine Performance
Virtual Machine PerformanceQian Lin
 
Splunk Conf 2014 - Splunking the Java Virtual Machine
Splunk Conf 2014 - Splunking the Java Virtual MachineSplunk Conf 2014 - Splunking the Java Virtual Machine
Splunk Conf 2014 - Splunking the Java Virtual MachineDamien Dallimore
 
The Real Thing: Java Virtual Machine
The Real Thing: Java Virtual MachineThe Real Thing: Java Virtual Machine
The Real Thing: Java Virtual MachineFrontech
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machineNikhil Sharma
 
Virtual machines and their architecture
Virtual machines and their architectureVirtual machines and their architecture
Virtual machines and their architectureMrinmoy Dalal
 
Virtual Machines
Virtual MachinesVirtual Machines
Virtual MachinesJoa Ebert
 
Building Scalable, Highly Concurrent & Fault Tolerant Systems - Lessons Learned
Building Scalable, Highly Concurrent & Fault Tolerant Systems -  Lessons LearnedBuilding Scalable, Highly Concurrent & Fault Tolerant Systems -  Lessons Learned
Building Scalable, Highly Concurrent & Fault Tolerant Systems - Lessons LearnedJonas Bonér
 
Знакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machineЗнакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machineSergey Lonshakov
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Novell
 
1.Introduction to virtualization
1.Introduction to virtualization1.Introduction to virtualization
1.Introduction to virtualizationHwanju Kim
 
Akka and the Zen of Reactive System Design
Akka and the Zen of Reactive System DesignAkka and the Zen of Reactive System Design
Akka and the Zen of Reactive System DesignLightbend
 
Linux BPF Superpowers
Linux BPF SuperpowersLinux BPF Superpowers
Linux BPF SuperpowersBrendan Gregg
 
Virtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareVirtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareDatapath Consulting
 
Monitoring and analytics with was liberty
Monitoring and analytics with was libertyMonitoring and analytics with was liberty
Monitoring and analytics with was libertysflynn073
 

Destacado (19)

Performance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual MachinesPerformance Demystified for SQL Server on Azure Virtual Machines
Performance Demystified for SQL Server on Azure Virtual Machines
 
Virtual Machine Performance
Virtual Machine PerformanceVirtual Machine Performance
Virtual Machine Performance
 
Splunk Conf 2014 - Splunking the Java Virtual Machine
Splunk Conf 2014 - Splunking the Java Virtual MachineSplunk Conf 2014 - Splunking the Java Virtual Machine
Splunk Conf 2014 - Splunking the Java Virtual Machine
 
The Real Thing: Java Virtual Machine
The Real Thing: Java Virtual MachineThe Real Thing: Java Virtual Machine
The Real Thing: Java Virtual Machine
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machine
 
Virtual machines and their architecture
Virtual machines and their architectureVirtual machines and their architecture
Virtual machines and their architecture
 
Virtual Machines
Virtual MachinesVirtual Machines
Virtual Machines
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
Building Scalable, Highly Concurrent & Fault Tolerant Systems - Lessons Learned
Building Scalable, Highly Concurrent & Fault Tolerant Systems -  Lessons LearnedBuilding Scalable, Highly Concurrent & Fault Tolerant Systems -  Lessons Learned
Building Scalable, Highly Concurrent & Fault Tolerant Systems - Lessons Learned
 
Знакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machineЗнакомство с Ethereum virtual machine
Знакомство с Ethereum virtual machine
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
1.Introduction to virtualization
1.Introduction to virtualization1.Introduction to virtualization
1.Introduction to virtualization
 
Virtualization basics
Virtualization basics Virtualization basics
Virtualization basics
 
Akka and the Zen of Reactive System Design
Akka and the Zen of Reactive System DesignAkka and the Zen of Reactive System Design
Akka and the Zen of Reactive System Design
 
Linux BPF Superpowers
Linux BPF SuperpowersLinux BPF Superpowers
Linux BPF Superpowers
 
Virtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareVirtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMware
 
Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualization
 
Monitoring and analytics with was liberty
Monitoring and analytics with was libertyMonitoring and analytics with was liberty
Monitoring and analytics with was liberty
 

Similar a Splunking the JVM (Java Virtual Machine)

Java 8 Launch Event - Past, Present and Future of Java and Java 8 key themes
Java 8 Launch Event - Past, Present and Future of Java and Java 8 key themesJava 8 Launch Event - Past, Present and Future of Java and Java 8 key themes
Java 8 Launch Event - Past, Present and Future of Java and Java 8 key themesLucas Jellema
 
The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011Arun Gupta
 
Java keynote preso
Java keynote presoJava keynote preso
Java keynote presoArtur Alves
 
The Evolution of Java
The Evolution of JavaThe Evolution of Java
The Evolution of JavaFu Cheng
 
Trends and future of java
Trends and future of javaTrends and future of java
Trends and future of javaCsaba Toth
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxMurugesh33
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxMurugesh33
 
Lecture-01 _Java Introduction CS 441 Fast
Lecture-01 _Java Introduction CS 441 FastLecture-01 _Java Introduction CS 441 Fast
Lecture-01 _Java Introduction CS 441 FastUzairSaeed18
 
Java Presentation
Java PresentationJava Presentation
Java PresentationAmr Salah
 
itft-Java evolution
itft-Java evolutionitft-Java evolution
itft-Java evolutionAtul Sehdev
 
Chapter-1 Introduction.pptx
Chapter-1 Introduction.pptxChapter-1 Introduction.pptx
Chapter-1 Introduction.pptxSumanBhandari40
 
Introduction to java by priti sajja
Introduction to java by priti sajjaIntroduction to java by priti sajja
Introduction to java by priti sajjaPriti Srinivas Sajja
 
21110113913.pptxElectricity is a type of
21110113913.pptxElectricity is a type of21110113913.pptxElectricity is a type of
21110113913.pptxElectricity is a type ofpandeyritik310
 
01-Introduction.ppt
01-Introduction.ppt01-Introduction.ppt
01-Introduction.pptEmanAsem4
 

Similar a Splunking the JVM (Java Virtual Machine) (20)

Java 8 Launch Event - Past, Present and Future of Java and Java 8 key themes
Java 8 Launch Event - Past, Present and Future of Java and Java 8 key themesJava 8 Launch Event - Past, Present and Future of Java and Java 8 key themes
Java 8 Launch Event - Past, Present and Future of Java and Java 8 key themes
 
Java8 launch at AMIS Services / First8
Java8 launch at AMIS Services / First8Java8 launch at AMIS Services / First8
Java8 launch at AMIS Services / First8
 
The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011
 
Java keynote preso
Java keynote presoJava keynote preso
Java keynote preso
 
The Evolution of Java
The Evolution of JavaThe Evolution of Java
The Evolution of Java
 
Trends and future of java
Trends and future of javaTrends and future of java
Trends and future of java
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
 
Lecture-01 _Java Introduction CS 441 Fast
Lecture-01 _Java Introduction CS 441 FastLecture-01 _Java Introduction CS 441 Fast
Lecture-01 _Java Introduction CS 441 Fast
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
 
itft-Java evolution
itft-Java evolutionitft-Java evolution
itft-Java evolution
 
Chapter-1 Introduction.pptx
Chapter-1 Introduction.pptxChapter-1 Introduction.pptx
Chapter-1 Introduction.pptx
 
Introduction to java by priti sajja
Introduction to java by priti sajjaIntroduction to java by priti sajja
Introduction to java by priti sajja
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Java8 launch AMIS Services by Lucas Jellema
Java8 launch AMIS Services by Lucas Jellema Java8 launch AMIS Services by Lucas Jellema
Java8 launch AMIS Services by Lucas Jellema
 
Presentation on Java Basic
Presentation on Java BasicPresentation on Java Basic
Presentation on Java Basic
 
21110113913.pptxElectricity is a type of
21110113913.pptxElectricity is a type of21110113913.pptxElectricity is a type of
21110113913.pptxElectricity is a type of
 
01-Introduction.ppt
01-Introduction.ppt01-Introduction.ppt
01-Introduction.ppt
 
Curso de Programación Java Intermedio
Curso de Programación Java IntermedioCurso de Programación Java Intermedio
Curso de Programación Java Intermedio
 

Más de Damien Dallimore

QCon London 2015 - Wrangling Data at the IOT Rodeo
QCon London 2015 - Wrangling Data at the IOT RodeoQCon London 2015 - Wrangling Data at the IOT Rodeo
QCon London 2015 - Wrangling Data at the IOT RodeoDamien Dallimore
 
Splunk Conf 2014 - Getting the message
Splunk Conf 2014 - Getting the messageSplunk Conf 2014 - Getting the message
Splunk Conf 2014 - Getting the messageDamien Dallimore
 
SpringOne2GX 2014 Splunk Presentation
SpringOne2GX 2014 Splunk PresentationSpringOne2GX 2014 Splunk Presentation
SpringOne2GX 2014 Splunk PresentationDamien Dallimore
 
SplunkLive London 2014 Developer Presentation
SplunkLive London 2014  Developer PresentationSplunkLive London 2014  Developer Presentation
SplunkLive London 2014 Developer PresentationDamien Dallimore
 
Splunk Modular Inputs / JMS Messaging Module Input
Splunk Modular Inputs / JMS Messaging Module InputSplunk Modular Inputs / JMS Messaging Module Input
Splunk Modular Inputs / JMS Messaging Module InputDamien Dallimore
 
Splunk as a_big_data_platform_for_developers_spring_one2gx
Splunk as a_big_data_platform_for_developers_spring_one2gxSplunk as a_big_data_platform_for_developers_spring_one2gx
Splunk as a_big_data_platform_for_developers_spring_one2gxDamien Dallimore
 

Más de Damien Dallimore (12)

QCon London 2015 - Wrangling Data at the IOT Rodeo
QCon London 2015 - Wrangling Data at the IOT RodeoQCon London 2015 - Wrangling Data at the IOT Rodeo
QCon London 2015 - Wrangling Data at the IOT Rodeo
 
Splunk Conf 2014 - Getting the message
Splunk Conf 2014 - Getting the messageSplunk Conf 2014 - Getting the message
Splunk Conf 2014 - Getting the message
 
SpringOne2GX 2014 Splunk Presentation
SpringOne2GX 2014 Splunk PresentationSpringOne2GX 2014 Splunk Presentation
SpringOne2GX 2014 Splunk Presentation
 
SplunkLive London 2014 Developer Presentation
SplunkLive London 2014  Developer PresentationSplunkLive London 2014  Developer Presentation
SplunkLive London 2014 Developer Presentation
 
A Brief History Of Data
A Brief History Of DataA Brief History Of Data
A Brief History Of Data
 
Spring Integration Splunk
Spring Integration SplunkSpring Integration Splunk
Spring Integration Splunk
 
Splunk Modular Inputs / JMS Messaging Module Input
Splunk Modular Inputs / JMS Messaging Module InputSplunk Modular Inputs / JMS Messaging Module Input
Splunk Modular Inputs / JMS Messaging Module Input
 
Splunk for JMX
Splunk for JMXSplunk for JMX
Splunk for JMX
 
Splunk Java Agent
Splunk Java AgentSplunk Java Agent
Splunk Java Agent
 
Splunk Developer Platform
Splunk Developer PlatformSplunk Developer Platform
Splunk Developer Platform
 
Splunk as a_big_data_platform_for_developers_spring_one2gx
Splunk as a_big_data_platform_for_developers_spring_one2gxSplunk as a_big_data_platform_for_developers_spring_one2gx
Splunk as a_big_data_platform_for_developers_spring_one2gx
 
Using the Splunk Java SDK
Using the Splunk Java SDKUsing the Splunk Java SDK
Using the Splunk Java SDK
 

Último

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 

Último (20)

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 

Splunking the JVM (Java Virtual Machine)

  • 1. Splunking the Java Virtual Machine(JVM) Presented by Damien Dallimore Developer Evangelist at Splunk Copyright © 2012 Splunk Inc.
  • 2. About me • Developer Evangelist at Splunk since July 2012 • http://dev.splunk.com • http://splunk-base.splunk.com • Slides available for my “Using the Java SDK” session • Splunk Community Member • Splunk for JMX • SplunkJavaLogging • SplunkBase Answers • Splunk Architect and Administrator • Coder, hacker, architect of Enterprise Java solutions around the globe in many different industries(aviation, core banking, card payments etc…) • If Splunk had been there at the start of my career I would have a lot more hair today  2
  • 3. Agenda • The JVM Landscape • JVM Machine Data • Splunk for JMX • Community Projects – call to arms • Questions (feel free to yell out at any time also)
  • 5. What is this JVM thing ? • Circa 1991, Dr. James Gosling at Sun started developing a technology for next generation smart devices/appliances • “Green” became “Oak” which became “Java” • Java 1.0 first appeared in January 1996. • The JVM is a virtual machine that runs programs that are compiled into Java bytecode • Available for many hardware and software platforms • 17 years later , the JVM has evolved from a consumer device technology, to a browser oriented technology with the explosion of the web , to now becoming deeply rooted in the enterprise software landscape on the server side and in the cloud 5
  • 6. 17 years later • Oracle took ownership of Java from Sun in January 2010 • The Java Community Process(JCP) is the forum where members develop specifications for Java technology • Java Specification Requests(JSR) get submitted for new features, are reviewed and then voted on by the JCP Executive Application Servers Enterprise Service Buses Databases committee. NoSQL Distributed Big Data Web Servers • Editions • Embedded Java, Java ME , Java SE , Java EE Directory Servers Search Engines Build Systems • Current Version is Java 7 (Dolphin) • Java 8 scheduled for 2013 Gaming Platforms Trading Systems Reservation Systems Core Banking Messaging Infrastructure Proprietary Systems 6
  • 7. JVM Variants • Oracle Hotspot (formerly SUN) • the primary reference JVM implementation • Oracle JRockit (formerly BEA) • free since May 2011 • code base currently being merged with Hotspot, ETA ~JDK 8 • Open JDK • SUN open sourced Hotspot and the Java class library in 2006 • Slight differences with Oracle Java still • OpenJDK is the official Java SE7 Reference Implementation • J9 • IBM’s JVM for AIX, Linux, MVS, OS/400, Pocket PC, z/OS • Azul Systems Zing • based on HotSpot • supports memory heaps up to 512 GB without GC pauses and is able to grow and shrink the heap based on load http://en.wikipedia.org/wiki/List_of_Java_virtual_machines 7
  • 8. The JVM has a healthy future • Hotspot / JRockit code merge creating a best of breed JVM, Oracle to contribute this to OpenJDK • OpenJDK is thriving, Oracle are contributing and being good stewards of Java (despite initial skepticism) • Proliferation of alternative JVM languages that can all co-habitate in the JVM and new features in Java 8 to further enhance this multi language platform • Scala • Groovy • Clojure • The JVM is evolving organically with the shifting tides of Enterprise software, it isn’t about the “J” anymore. • From the clustered Application Server domination of the 00’s we now see an explosion of Big Data products running in massively distributed environments on commodity hardware or in the cloud • Apache Hadoop family (MapReduce, Hive, Hbase, Cassandra, HDFS) 8
  • 9. What is running in JVMs ? 9
  • 10. JVM “Fanboi” Speaking of Java as a language as opposed Fanboi Dr. Gosling to the JVM platform, James Gosling, the Father of Java, said "Most people talk about Java the language, and this may sound odd coming from me, but I could hardly care less." He went on to explain, "What I really care about is the Java Virtual Machine as a concept, because that is the thing that ties it all together." 10
  • 12. JVM Machine Data • The JVM footprint cross cuts the data centre and represents a massive source of valuable machine data • Large scale Application/Web Server clusters • Hadoop & Cassandra Node topologies in the 100’s and in some cases 1000’s Custom Developed Code WAR file CORRELATE JMX, Developer Logs, Splunk Java SDK, SplunkJavaLogging Application Code Tomcat JMX, Application Logs JVM Hotspot JMX, SNMP, HPROF,GC Logs, Custom Agents, Usage Tracker Operating System Linux JVM process OS resource metrics 12
  • 13. Application & Developer Logs Splunk Indexer • Application logs • default logs that are part of the product Splunk Universal Forwarder • Developer logs • any custom code created and deployed to the application that has it’s own logging Developed Code • Written to local disk or a mounted network M onitor Log Files/ Directorys Application volume JVM • Monitor with a Splunk UF OS 13
  • 14. Splunk Java SDK / SplunkJavaLogging Splunk Indexer HTTP$REST$/$TCP$/$UDP • Alternative to writing to log file or Developed Code needing to deploy a Splunk Universal Forwarder Application • Use the Splunk Java SDK to input events directly to Splunk via HTTP Rest. JVM • Use SplunkJavaLogging to input events directly to Splunk using custom logging appenders. OS • Come to my “Using the Java SDK” session for more on this !! 14
  • 15. JVM Process OS Metrics Splunk Indexer • By JVM Process ID : Process State, Memory, CPU, Disk Usage, Disk Splunk for Unix or Linux I/O, Network I/O, File Descriptor Usage. • Some OS metrics also exposed via JMX Poll output from • Splunk for Unix and Linux M onitor Log Files & commands Directorys • Splunk for Windows • Correlate this OS data across your JVM and Developed Code Application events ie: your JVM may have hung Application because of CPU starvation caused by some other process thrashing JVM OS 15
  • 16. Garbage Collection logs Splunk Indexer • Extended Hotspot JVM options -verbose:gc -Xloggc:/home/damien/jvm_logs/gc.log Splunk Universal Forwarder -XX:+PrintGC -XX:+PrintGCTimeStamps -XX:+PrintGCDetails Developed Code • The log is written to at Garbage Collection time Application • Be careful , can affect performance • Need to perform field extractions in Splunk JVM Monitor GC Log Files • GC metrics also available via JMX OS 54.736: [Full GC 54.737: [Tenured: 172798K->18092K(174784K), 2.3792658 secs] 257598K->18092K(259584K), [Perm : 20476K->20476K(20480K)], 2.4715398 secs] [Times: user=0.56 sys=0.05, real=0.07 secs] 16
  • 17. Custom JVMTI Agents (Advanced) Splunk Indexer • Java Virtual Machine Tool Interface • Write custom agents that get injected into REST/TCP/UDP the natively running JVM • Dynamically inspect the state of applications Splunk Universal running in the JVM Developed Code Forwarder • Profiling, debugging, monitoring, thread/me Application mory analysis…the JVMTI Interface has extensive coverage JVM Monitor Agent Log Files • As you write the agent code , the data output can be file based or over the OS network 17
  • 18. Usage Tracker for Oracle JVMs • Enable via a JVM system property and a config file Splunk Indexer -Dcom.oracle.usagetracker.config.file=/path/usagetracker.properties • Output to CSV file or over UDP VM start, UDP Fri Oct 22 14:13:03 BST 2010, examplehost/192.0.2.0, Splunk Universal AppName, Forwarder /path/to/jre, Developed Code 1.7.0, 19.0-b09, Application Oracle Corporation, Oracle Corporation, Linux, JVM Usage Tracker Log Files i386, 2.6.29.x86_64, -Xmx128m, OS /opt/programs, user.home=/home/username foo.bar=null • All these metrics also available via JMX 18
  • 19. SNMP Splunk Indexer • The JVM SNMP Agent provides a single MIB that exposes the JVM’s Management and Monitoring API http://docs.oracle.com/javase/1.5.0/docs/guide/management/JVM-MANAGEMENT-MIB.mib Splunk Universal Developed Code Forwarder • Setup the JVM (just the basic settings shown) SNMP% Objects% Polled Application JVM MIB Open a UDP Port : -Dcom.sun.management.snmp.port=9004 JVM Configure the ACL : $JAVA_HOME/jre/lib/management/snmp.acl OS • Traps can be caught locally to file and monitored SNMP% Traps% wri6en% file to% • A scripted input on the Splunk UF can poll the JVM SNMP Objects pysnmp python module : http://pysnmp.sourceforge.net snmptrapd UDP:162 snmpget command : http://www.net-snmp.org/docs/man/snmpget.html There is a nice example of this on SplunkBase 19
  • 20. HPROF Profiling Dumps Splunk Indexer • Binary JVM dumps that allow for deeper JVM resource inspection • Typical use case is diagnosing memory issues after JVM crashes with java.lang.OutOfMemoryError Splunk Universal • Binary file is usually batch loaded into a third party Forwarder memory analysis tool like Eclipse MAT • Generate a heap dump on demand via JMX M onitor and decode into • Or tell the JVM to generate a heap dump under certain Developed Code textual key=value pairs conditions : • -XX:HeapDumpPath=./java_pid<pid>.hprof Application • -XX:-HeapDumpOnOutOfMemoryError JVM • But what if we could Splunk this awesome source of information, this could be really useful in dev/test ! OS Binary HPROF dump file Warning : heap dumping is an expensive operation as a full GC gets performed 20
  • 21. Splunk HPROF Decoder • A scripted input that monitors for HPROF file dumps , reads the binary file in and rolls it out into key=value format for Splunking • Deploy the Scripted input to a Universal Forwarder • Use Splunk for JMX to periodically trigger an HPROF dump via a JMX operation • Splunk Universal Splunk is now a JVM Heap Profiling utility Forwarder • Diagnose Heap issues before they hit production M onitor and decode into • Trigger HPRO F file generation Splunk for JMX can tell you that the Heap is growing via a JM X operation textual key=value pairs • This will tell you what is causing the growth JVM Binary HPRO F dump file 21
  • 22. Splunk Heap Memory Analysis 22
  • 23. JMX (Java Management Extensions) Splunk Indexer • Manage and Monitor the JVM and Application via exposed MBeans • JVM MBeans (java.lang domain) • Vendor MBeans (most vendors ship their products with extensive MBean coverage) • Custom Coded MBeans (whatever your devs wish to Developed Code JMX code) Splunk Universal • MBeans expose attributes, operations and Application Forwarder notifications to give you a powerfully dynamic JVM insight into the runtime state of the JVM and your application. OS • Add Splunk to the mix for historical and realtime operational visibility, pro-active issue detection etc.. • Splunk for JMX app on SplunkBase 23
  • 24. JMX vs SNMP JMX • Open and easily extensible • Developers can simply create new MBeans • Vendor products(JBoss, Cassandra, Hadoop etc..) ship with thorough MBean coverage, not MIBs SNMP • The built-in SNMP agent of the JVM is not extensible. • You will not be able to use it in order to expose your own custom MIB • If you do want to expose your own MIB, you’d have to create a custom agent 24
  • 25. Putting it all together, JVM Splunking Nirvana Distributed Search Splunk Indexer Cluster Auto Load Balanced REST/TCP/UDP JMX Developed Code Logs JMX Splunk Forwarder Application Logs JMX JVM HPROF OS* Metrics/Logs OS 25
  • 27. Splunk for JMX • Connect to any local or remote JVM's JMX server, Hotspot/JRockit/IBM J9 • Query any MBean running on that server • Extract any MBean attributes (simple, composite or tabular) • Invoke MBean operations • Write attributes and operation results out in a default key/value format, or plugin your own custom format, for SPLUNK indexing and searching • Transport events over STD OUT(default), TCP, Syslog, Splunk REST endpoint or direct to file. • Declare clusters of JVM's for larger scale JVM deployments • Runs on *Nix and Windows • Out of the box dashboards for common JVM MBeans • Freely available from SplunkBase, all source code is on GitHub 27
  • 28. Connectivity Options Remote JMX interface • rmi (JSR160 Standard Implementation and MX4J's JSR160 Implementation) • iiop (JSR160 Standard Implementation and MX4J's JSR160 Implementation) Direct Process attachment • Connect directly to a locally running JVM process MX4J HTTP connectors (requires MX4J in the target JVM also) • soap , soap+sssl • hessian, hessian+ssl • burlap, burlap+ssl 28
  • 29. Setup and Configuration The main goal of the app was to make it as simple and intuitive as possible to connect to your JVMs and start Splunking JMX data • Enable your target JVM’s remote JMX interface , test connectivity with JConsole • Install Splunk for JMX • Set your SPLUNK_HOME , JAVA_HOME environment variables, JRE 6+ required • Extract Splunk for JMX tarball to SPLUNK_HOME/etc/apps • Restart Splunk • At the setup screen, choose a scripted input for your platform (Nix / Windows) • Setup your JMX configuration file • The default config.xml file is pre configured for common JVM MBeans • Browse your JVM (using JConsole) for other MBeans that you wish to poll and configure these • You can have as many config files as you require, and you might set these up to fire off at different scheduled frequencies 29
  • 30. Configuration Examples - Simple • MBean Object name format “domain:key=value,key2=value2” • * and ? wildcards are supported in the Mbean name Around 25KBytes per dump on Hotspot JVMs 30
  • 31. Configuration Examples - Clusters • Define clusters of JVM’s that share the same MBean definitions • Note , in these examples, for brevity I am using “dumpAllAttributes” , but in production you’d want to pick and choose specific MBean attributes you are interested in, and perhaps split definitions over multiple files run at varying frequencies 31
  • 32. Configuration Examples - Operations • Invoke JMX operations that return a value or simply perform some action on the target JVM • Operation definitions can take parameters Use Case 1 : your developers might code a JMX operation that returns a CSV or JSON formatted snapshot of some metrics for Splunking Use Case 2 : dynamically trigger HPROF dumps. The “com.sun.management:type=HotSpotDiagnostic” Mbean exposes a “dumpHeap” operation 32
  • 33. Configuration Examples - Connecting • IP Address with credentials • Hostname • Static Process ID • Process ID lookup from file • Process ID lookup from command output • Raw JMX Service URL • MX4J HTTP Connector 33
  • 34. Custom Formatters/Transports • The Splunk for JMX configuration is user extensible • You can code and configure your own Formatters and Transports Formatters • Takes the raw MBean polled output and formats it for Splunking • A Java implementation of the "com.dtdsoftware.splunk.formatter.Formatter" interface • If the optional formatter declaration is omitted, then the default formatter will be used Transports • Takes the formatted output and transports it to a destination • A Java implementation of the "com.dtdsoftware.splunk.transport.Transport" interface • If the optional transport declaration is omitted, then the default transport(STD out) will be used 34
  • 37. Deployment Architectures 1 • Simplest scenario • Monolithic Splunk installation • Splunk for JMX polling 1 or more remote/local JVMs via the remote JMX interface • There is support for many target JVM’s in the configuration schema but to really scale out, you need a more advanced Splunk architecture 37
  • 38. Deployment Architectures 2 Load Balancer • Run Splunk UF locally with target JVM.Can connect use remote JMX interface or Splunk Search Head Pool direct process attachment. • Each tier scales out horizontally. • Can overcome firewall issues that are Splunk Indexer sometimes inherent with Java RMI Cluster • Deploy Splunk for JMX components and configurations with Splunk Deployment Server, Puppet or Chef. Splunk UF running locally with target JVM 38
  • 39. Community Projects – call to arms !!
  • 41. SplunkBase JVM Apps • I’ve already started on some, but I can’t do it all myself ! • You can use Splunk for JMX as the “kernel” upon which to build Splunk for Tomcat, Splunk for JBoss, Splunk for Mule etc.. • I have found that with most of the JVM apps that I have looked at or been asked to build a Splunk app for, that most of the useful data is in the JMX metrics and operations • Any this can of course be augmented with any useful log data • Build Simple/Advanced XML dashboards • Bundle up the app and post it on Splunkbase, share with the community and perhaps someone else will create an app that you can use too • Note , you are publishing a common app so you can’t take into account any custom developer code, just the metrics and logs that are inherent to the core JVM app 41
  • 42. Contact Details Always more than happy to be contacted for questions, feedback, collaborations, ideas that will change the world etc… Email : ddallimore@splunk.com SplunkBase: damiend Github: damiendallimore Twitter : @damiendallimore Blog : http://blogs.splunk.com/dev Splunk Dev Platform Team : devinfo@splunk.com 42
  • 43. Links Splunk for JMX: http://splunk-base.splunk.com/apps/25505/splunk-for-jmx SplunkJavaLogging: https://github.com/damiendallimore/SplunkJavaLogging Splunk Java SDK: http://dev.splunk.com/view/java-sdk/SP-CAAAECN Oracle Java: http://www.oracle.com/us/technologies/java/overview/index.html Open JDK : http://openjdk.java.net/ JMX : http://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html Azul Zing : http://www.azulsystems.com/products/zing/whatisit JVMTI : http://docs.oracle.com/javase/6/docs/technotes/guides/jvmti/ Usage Tracker : http://docs.oracle.com/javase/products/usagetracker.html Usage Tracker w/ Splunk : http://javalandtales.blogspot.co.uk/#!/2012/05/using-java-usage-tracker-feature-with.html 43

Notas del editor

  1. Open JDK – Browser plugin and web start only with Oracle Java