SlideShare a Scribd company logo
Sumo Logic Confidential
QuickStart Webinar
Getting Started with Sumo Logic
Mario Sánchez
October 2016
Welcome.
To give everyone a
chance to successfully
connect, we’ll start at
10:05 AM Pacific.
Note you are currently
muted.
Sumo Logic Confidential
At the completion of this webinar, you will be able to…
Understand Data Collection (Admin Topic)
Search, Parse and Analyze Data
Visualize and Monitor through Dashboards & Alerts
Take advantage of the content Library and Apps
Sumo Logic Confidential
What is Sumo Logic?
Sumo Logic Confidential
Continuous Intelligence
DEVOPS IT INFRASTRUCTURE
AND OPERATIONS
COMPLIANCE AND
SECURITY
DEVOPS
Streamline continuous
delivery
Monitor KPI’s and
Metrics
Accelerate
Troubleshooting
IT INFRASTRUCTURE
AND OPERATIONS
Monitor all workloads
Troubleshoot and
increase uptime
Simplify, Modernize,
and save costs
COMPLIANCE AND
SECURITY
Automate and
demonstrate compliance
Audit all systems
Think beyond rules
Sumo Logic Cloud Analytics Service
Sumo Logic Confidential
Enterprise Logs are Everywhere
Custom App
Code
Server / OS
Virtual
Databases
Network
Open
Source
Middleware
Content
Delivery
IaaS,
PaaS
SaaS Security
Sumo Logic Confidential
High-Level Data Flow
Sumo Logic Confidential
Sumo Logic Data Flow
Data Collection Search & Analyze Visualize & Monitor
Alerts
Dashboards
Collectors
Sources
Operators
Detect
1 2 3
Sumo Logic Confidential
Data Collection
Sumo Logic Confidential
Host A
Collectors and Sources
Apache Access
Apache Error
Collector
A
Host B
Collector
B
Host C
Collector
C
Apache Access
Apache Error
IIS Logs
IIS W3C Logs
Sumo Logic Confidential
Metadata Fields
Name Description
_collector Name of the collector this data came from
_source Name of the source this data came through
_sourceHost Hostname of the server this data came from
_sourceName Name of the log file (including path)
_sourceCategor
y
Category designation of source data
Tags added to your messages when data is collected
Host A
Apache Access
Apache Error
Collector
A
Sumo Logic Confidential
Host A
Metadata Field: Source Category
Apache Access
WS/Apache/Access
Apache Error
WS/Apache/Error
Collector
A
Host B
Collector
B
Host C
Collector
C
Apache Access
WS/Apache/Access
Apache Error
WS/Apache/Error
IIS Logs
WS/IIS
IIS W3C Logs
WS/IIS/W3C
Sample Searches for
_sourceCategory:
= WS/Apache/Access
= WS/Apache/*
= WS/*
Sumo Logic Confidential
Source Category Naming Convention
Simplifies Search Syntax and Scope Definitions
Used for other Sumo Logic features
Role-Based Access Control (Data Provisioning)
Partitioning (Search Optimization Tool)
Adopt a Robust Naming Convention Early
Ex: Prod/Sumo/Apache/Access  Env/Customer/Device/MessageType
Ex: OS/Windows/2012/Messages  Device/Vendor/Version/MessageType
Blog Post: Good SourceCategory, Bad SourceCategory
Sumo Logic Confidential
Search and Analyze
Sumo Logic Confidential
Set your
Preferences
Set your Session
Timeout
Query Editing
versus Running
Sumo Logic Confidential
Search Basics Overview
Time Range
Histogram
Search Bar
Search Results
Display Options
Sumo Logic Confidential
Field Browser - Metadata fields
Sumo Logic Confidential
Field Browser
Metadata Fields
Parsed Fields
Sumo Logic Confidential
Search Structure
Keywords and operators (separated by pipes) that build on top of each other
Syntax:
metadata tags + keywords | parse | filter | aggregate | sort | limit
Example Search:
Results
where
metadata
keyword
Sumo Logic Confidential
Keyword Search
Case Insensitive
Wildcard Support (e.g. ERR*)
Boolean Logic Support
AND
OR
!(A OR B)
Combine these keywords with metadata fields
Bloom filters
Using keywords helps bloom filters locate data very quickly
Sumo Logic Confidential
• Determine the data available through your search.
• Pre-populated Dropdown
– Last 15 min, Today
• Absolute
– 12:25PM 12:30PM
– 8/11/2015 13:00AM 8/11/2015 14:00AM
• Relative
– -5m
– -2h
– -2d -1d
Time Range
Sumo Logic Confidential
Develop Good Search Habits
Use metadata and keyword combinations to reduce scope
Add line breaks after each operation
Limit result sets before aggregating data  user=a | count by user
Use parse anchor instead of parse regex for structured messages
Avoid the use of expensive parse regex tokens like .*  d{2,10}
Narrow your time-range down as much as possible
Sumo Logic Confidential
Refining Results by Surrounding Messages
Sumo Logic Confidential
• LogReduce uses fuzzy logic and soft matching to cluster messages providing quick
investigation view into your environment.
Operators: Looking for the Unknown
Sumo Logic Confidential
• Identify unexpectedly high or low values within determined thresholds
|timeslice 1m
|count by _timeslice
|outlier _count
Operators: Finding Outliers
Sumo Logic Confidential
• Parsing enables a user to extract parts of a message and classify them as
fields.
– Enables you to perform additional operations
• Logical/conditional – based on values
• Mathematical – operations on value sets
• Parsing Options
– parse anchor: Leverages beginning and ending anchors
– parse regex: Extracts nested information via regex
Extracting and Labeling Additional Fields
Sumo Logic Confidential
Parse Anchor - Using the UI
Highlighting
strings in the
result allow
you to launch
the UI parser
UI Parser allows
you to select fields
and label them
Results now show
your parsed fields
Sumo Logic Confidential
• Extracts nested information via regular expressions
• Use if the construct of the messages is inconsistent
_sourceCategory=Apache/Access
| parse regex "[A-Z]+s(?<url>/S*)sHTTP/1.d+"s(?<status_code>d+)s"
Parse Regex
Sumo Logic Confidential
Regular Expressions – References and Resources
Regular Expressions use JRE
Online Resources:
• regex101.com
• Regular-expressions.info/refadv.html
• en.wikipedia.org/wiki/Regular_expression
• regexr.com
• Book
– Mastering Regular Expressions by Jeffrey E.F. Friedl
Sumo Logic Confidential
Parsing with Field Extraction Rules
Field Extraction Rules
Parse the data on ingest rather than run-time; simplifies searches
Take advantage of interactive dashboard filters
Sumo Logic Confidential
Evaluates messages and places them into groups
• Produces aggregates in a separate tab
• Must come after basic operators such as parse. Cannot be used with summarize.
• The count Operator enables you to group messages that match a classification
– Ex: _sourceCategory=Apache* | count as mycount
– Ex: GET | count by _sourceCategory
Grouping your Data
Sumo Logic Confidential
• Dissecting your result sets using Metadata Fields
– Ability to aggregate results sets and grouping them by metadata fields
• EX: _collector=*apache* | count by _sourceCategory
– Get a count of grouped result sets
• Ex: (Error OR fail*)| count by _sourcecategory , _sourcehost
– Organize Results by Count
• Ex: _collector=*apache*| count by _sourceCategory | sort by _count
Leveraging Metadata for Grouping
Sumo Logic Confidential
Timeslice operator enables you to segment your
results by time buckets
– Minute (timeslice by 5m)
– Hour (timeslice by 1h)
– Day (timeslice by 1d)
Example:
_sourceCategory=Apache/Access GET
|timeslice 1m
| count by _timeslice
| sort by _timeslice asc
Time-based Grouping
Sumo Logic Confidential
Visualize and Monitor
Sumo Logic Confidential
Collection of Panels that
provide graphical
representation of data
• Each Panel processes results
of a single search
• Additional Analysis: Drilldown
into corresponding query or
another Dashboard
Intro to Dashboards
Sumo Logic Confidential
• Chart Types
– Table
– Bar
– Column
– Line
– Area
– Pie
– Box Plot
– Google Maps
– Single Value
Providing Context through Visualization
Sumo Logic Confidential
• Live Mode
– Provides a live stream of data
– No Back filling of data
Dashboard Features
Toggle Live
Mode
Sumo Logic Confidential
Live versus Interactive Mode
Use Case Examples Dashboard
Type
Large screen displays
with streaming updates
Shared Screens for NOC,
Operations, Developers.
Live Mode
Template for Exploring
Data
Operational Investigations (i.e. Root
cause analysis)
Interactive
Mode
Historical Reporting
and Investigation
Audits, Failed/successful logins for
certain groups
Interactive
Mode
Sumo Logic Confidential
• Search based (On-Demand)
• Backfilling of data
• Support Filtering
Dashboard Features
Select Time
Range for all
PanelsAbility to use
Pre-defined
filters
Select filters for
individual panels
Select time range
for individual
panels
Sumo Logic Confidential
• Filters allow for panels results to be limited dynamically
• Filters can be assigned at:
– Dashboard level, Panel Level or both
• Filters can be string based or numeric
– The * wildcard is supported for non-numeric filters
– Numeric comparison operators supported: >,<,>=,<=
Filtering Details
Sumo Logic Confidential
Dashboards - Adding a Panel
1. Perform your
Search
2. Format your
Results
3. Create a
Panel
Sumo Logic Confidential
Alerting – Scheduled Searches
Using a Scheduled Search, you can set Alerts to trigger whenever the search
completes or when a certain condition is met.
Alert types include:
• Save to Index
• Script Action
• Email
• Webhooks
Blog Post: 2 Key Principles for Creating Meaningful Alerts
Sumo Logic Confidential
Saving and Scheduling an Alert
1. Save your Search
2. Schedule the
Search
3. Specify frequency and time
range
4. Specify Alert condition &
threshold
5. Specify Alert Type and details
Sumo Logic Confidential
Jumpstart with Apps
Sumo Logic Confidential
Installing Applications
Sumo Logic Confidential
In Summary, with Sumo Logic, you can…
Ingest any type of logs (structured and non-structured)
Query and Analyze using Operators
Visualize data through Charts and Dashboards
Alert on Critical Events
Call to Action:
Ensure you have a robust _SoureCategory naming convention
Set up Field Extraction Rules for your popular data sources
Sumo Logic Confidential
Questions?
Consume Training
sumologic.com/training
Read Documentation
help.sumologic.com
Search/Post to Community
community.sumologic.com
Open a Support Case
support.sumologic.com
Log a Feature Request
sumologic.ideas.aha.io/ideas
Sumo Logic Confidential
Thank you!

More Related Content

What's hot (20)

PPTX
Setting up Sumo Logic - June 2017
Sumo Logic
 
PPTX
Machine Analytics: Correlate Your Logs and Metrics
Sumo Logic
 
PPTX
Sumo Logic Search Job API
Sumo Logic
 
PPTX
Scaling Your Tools for Your Modern Application
Sumo Logic
 
PDF
Security Certification: Security Analytics using Sumo Logic - Oct 2018
Sumo Logic
 
PDF
Level 2 Certification: Using Sumo Logic - Oct 2018
Sumo Logic
 
PDF
Sumo Logic Certification - Level 2 (Using Sumo)
Sumo Logic
 
PDF
Level 3 Certification: Setting up Sumo Logic - Oct 2018
Sumo Logic
 
PPTX
Using Sumo Logic - Apr 2018
Sumo Logic
 
PPTX
Sumo Logic QuickStart Webinar - Get Certified
Sumo Logic
 
PPTX
Sumo Logic Cert Jam - Metrics Mastery
Sumo Logic
 
PPTX
Sumo Logic Cert Jam - Security Analytics
Sumo Logic
 
PPTX
Sumo Logic Cert Jam - Advanced Metrics with Kubernetes
Sumo Logic
 
PPTX
Sumo Logic Cert Jam - Security & Compliance
Sumo Logic
 
PPTX
Sumo Logic Cert Jam - Metrics Mastery
Sumo Logic
 
PPTX
Sumo Logic "How To" Webinar: Apps
Sumo Logic
 
PPTX
Welcome Webinar Slides
Sumo Logic
 
PPTX
Sumo Logic Cert Jam - Administration
Sumo Logic
 
PPTX
Sumo Logic Cert Jam - Fundamentals
Sumo Logic
 
PPTX
How McGraw Hill Uses Sumo Logic and AWS for Operational and Security Intellig...
Sumo Logic
 
Setting up Sumo Logic - June 2017
Sumo Logic
 
Machine Analytics: Correlate Your Logs and Metrics
Sumo Logic
 
Sumo Logic Search Job API
Sumo Logic
 
Scaling Your Tools for Your Modern Application
Sumo Logic
 
Security Certification: Security Analytics using Sumo Logic - Oct 2018
Sumo Logic
 
Level 2 Certification: Using Sumo Logic - Oct 2018
Sumo Logic
 
Sumo Logic Certification - Level 2 (Using Sumo)
Sumo Logic
 
Level 3 Certification: Setting up Sumo Logic - Oct 2018
Sumo Logic
 
Using Sumo Logic - Apr 2018
Sumo Logic
 
Sumo Logic QuickStart Webinar - Get Certified
Sumo Logic
 
Sumo Logic Cert Jam - Metrics Mastery
Sumo Logic
 
Sumo Logic Cert Jam - Security Analytics
Sumo Logic
 
Sumo Logic Cert Jam - Advanced Metrics with Kubernetes
Sumo Logic
 
Sumo Logic Cert Jam - Security & Compliance
Sumo Logic
 
Sumo Logic Cert Jam - Metrics Mastery
Sumo Logic
 
Sumo Logic "How To" Webinar: Apps
Sumo Logic
 
Welcome Webinar Slides
Sumo Logic
 
Sumo Logic Cert Jam - Administration
Sumo Logic
 
Sumo Logic Cert Jam - Fundamentals
Sumo Logic
 
How McGraw Hill Uses Sumo Logic and AWS for Operational and Security Intellig...
Sumo Logic
 

Viewers also liked (20)

PDF
Marcel Kornacker, Software Enginner at Cloudera - "Data modeling for data sci...
Dataconomy Media
 
PPTX
Sumo Logic quickStart Webinar June 2016
Sumo Logic
 
PPTX
Sumo Logic Quickstart - Nv 2016
Sumo Logic
 
PDF
Sumo Logic - Optimizing Your Search Experience (2016-08-17)
Sumo Logic
 
PPTX
Sumo Logic "How to" Webinar: Advanced Analytics
Sumo Logic
 
PPTX
"How to" Webinar: Sending Data to Sumo Logic
Sumo Logic
 
PPTX
Sumo Logic QuickStart Webinar - Dec 2016
Sumo Logic
 
PPTX
Standing Up an Effective Enterprise Data Hub -- Technology and Beyond
Cloudera, Inc.
 
PDF
The Future of Data Management: The Enterprise Data Hub
Cloudera, Inc.
 
PPTX
Bring your Graphite-compatible metrics into Sumo Logic
Sumo Logic
 
PPTX
Enterprise Data Hub: The Next Big Thing in Big Data
Cloudera, Inc.
 
PDF
Memory Heap Analysis with AppDynamics - AppSphere16
AppDynamics
 
PDF
Thousands of JVMs, Hundreds of Applications, and Two People: How Cerner Learn...
AppDynamics
 
PDF
How the World Bank Standardized on AppDynamics as its Enterprise-Wide APM Sol...
AppDynamics
 
PPTX
The Future of Data Management: The Enterprise Data Hub
Cloudera, Inc.
 
PDF
AppDynamics Administration - AppSphere16
AppDynamics
 
PDF
Microservices and the Modern IT Stack: Trends of Tomorrow - AppSphere16
AppDynamics
 
PDF
AppDynamics Custom Transaction Correlation
AppDynamics
 
PDF
Is Your Infrastructure Affecting Critical Business Transactions? - AppSphere16
AppDynamics
 
PDF
Lessons Learned at a US Government Agency Monitoring a Large, Highly Regulate...
AppDynamics
 
Marcel Kornacker, Software Enginner at Cloudera - "Data modeling for data sci...
Dataconomy Media
 
Sumo Logic quickStart Webinar June 2016
Sumo Logic
 
Sumo Logic Quickstart - Nv 2016
Sumo Logic
 
Sumo Logic - Optimizing Your Search Experience (2016-08-17)
Sumo Logic
 
Sumo Logic "How to" Webinar: Advanced Analytics
Sumo Logic
 
"How to" Webinar: Sending Data to Sumo Logic
Sumo Logic
 
Sumo Logic QuickStart Webinar - Dec 2016
Sumo Logic
 
Standing Up an Effective Enterprise Data Hub -- Technology and Beyond
Cloudera, Inc.
 
The Future of Data Management: The Enterprise Data Hub
Cloudera, Inc.
 
Bring your Graphite-compatible metrics into Sumo Logic
Sumo Logic
 
Enterprise Data Hub: The Next Big Thing in Big Data
Cloudera, Inc.
 
Memory Heap Analysis with AppDynamics - AppSphere16
AppDynamics
 
Thousands of JVMs, Hundreds of Applications, and Two People: How Cerner Learn...
AppDynamics
 
How the World Bank Standardized on AppDynamics as its Enterprise-Wide APM Sol...
AppDynamics
 
The Future of Data Management: The Enterprise Data Hub
Cloudera, Inc.
 
AppDynamics Administration - AppSphere16
AppDynamics
 
Microservices and the Modern IT Stack: Trends of Tomorrow - AppSphere16
AppDynamics
 
AppDynamics Custom Transaction Correlation
AppDynamics
 
Is Your Infrastructure Affecting Critical Business Transactions? - AppSphere16
AppDynamics
 
Lessons Learned at a US Government Agency Monitoring a Large, Highly Regulate...
AppDynamics
 
Ad

Similar to Sumo Logic QuickStart Webinar Oct 2016 (13)

PDF
Sumo Logic Quickstart Training 10/14/2015
Sumo Logic
 
PPTX
Sumo Logic QuickStart Webinar July 2016
Sumo Logic
 
PDF
Sumo Logic QuickStart Webinar
Sumo Logic
 
PPTX
Sumo Logic QuickStart - May 2016
Sumo Logic
 
PPTX
Sumo Logic QuickStart
Sumo Logic
 
PDF
Sumo Logic QuickStart Webinar - Jan 2016
Sumo Logic
 
PDF
Sumo Logic Quick Start - Feb 2016
Sumo Logic
 
PPTX
Setting Up Sumo Logic - Sep 2017
mariosany
 
PDF
Optimizing Your Search Experience
Sumo Logic
 
PDF
How to Webinar: Monitoring through Alerts
Sumo Logic
 
PPTX
Integration Monday - BizTalk Migrator Deep Dive
BizTalk360
 
PDF
Timely Year Two: Lessons Learned Building a Scalable Metrics Analytic System
Accumulo Summit
 
PPTX
CSE3069 - FLUENTD real time analytics.pptx
dummyuseage1
 
Sumo Logic Quickstart Training 10/14/2015
Sumo Logic
 
Sumo Logic QuickStart Webinar July 2016
Sumo Logic
 
Sumo Logic QuickStart Webinar
Sumo Logic
 
Sumo Logic QuickStart - May 2016
Sumo Logic
 
Sumo Logic QuickStart
Sumo Logic
 
Sumo Logic QuickStart Webinar - Jan 2016
Sumo Logic
 
Sumo Logic Quick Start - Feb 2016
Sumo Logic
 
Setting Up Sumo Logic - Sep 2017
mariosany
 
Optimizing Your Search Experience
Sumo Logic
 
How to Webinar: Monitoring through Alerts
Sumo Logic
 
Integration Monday - BizTalk Migrator Deep Dive
BizTalk360
 
Timely Year Two: Lessons Learned Building a Scalable Metrics Analytic System
Accumulo Summit
 
CSE3069 - FLUENTD real time analytics.pptx
dummyuseage1
 
Ad

More from Sumo Logic (6)

PDF
Welcome Webinar PDF
Sumo Logic
 
PPTX
Sumo Logic Cert Jam - Advanced Metrics with Kubernetes
Sumo Logic
 
PPTX
Sumo Logic Cert Jam - Search Mastery
Sumo Logic
 
PPTX
Sumo Logic Cert Jam - Fundamentals (Spanish)
Sumo Logic
 
PPTX
You Build It, You Secure It: Introduction to DevSecOps
Sumo Logic
 
PPTX
Making the Shift from DevOps to Practical DevSecOps | Sumo Logic Webinar
Sumo Logic
 
Welcome Webinar PDF
Sumo Logic
 
Sumo Logic Cert Jam - Advanced Metrics with Kubernetes
Sumo Logic
 
Sumo Logic Cert Jam - Search Mastery
Sumo Logic
 
Sumo Logic Cert Jam - Fundamentals (Spanish)
Sumo Logic
 
You Build It, You Secure It: Introduction to DevSecOps
Sumo Logic
 
Making the Shift from DevOps to Practical DevSecOps | Sumo Logic Webinar
Sumo Logic
 

Recently uploaded (20)

PPTX
computer forensics encase emager app exp6 1.pptx
ssuser343e92
 
PDF
Dealing with JSON in the relational world
Andres Almiray
 
PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PDF
Laboratory Workflows Digitalized and live in 90 days with Scifeon´s SAPPA P...
info969686
 
PPTX
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PPTX
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
PDF
Difference Between Kubernetes and Docker .pdf
Kindlebit Solutions
 
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
PPTX
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PDF
Transform Retail with Smart Technology: Power Your Growth with Ginesys
Ginesys
 
PDF
interacting-with-ai-2023---module-2---session-3---handout.pdf
cniclsh1
 
PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PPTX
PowerISO Crack 2025 – Free Download Full Version with Serial Key [Latest](1)....
HyperPc soft
 
PDF
Continouous failure - Why do we make our lives hard?
Papp Krisztián
 
PDF
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
PPTX
EO4EU Ocean Monitoring: Maritime Weather Routing Optimsation Use Case
EO4EU
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
PPTX
Cubase Pro Crack 2025 – Free Download Full Version with Activation Key
HyperPc soft
 
computer forensics encase emager app exp6 1.pptx
ssuser343e92
 
Dealing with JSON in the relational world
Andres Almiray
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Laboratory Workflows Digitalized and live in 90 days with Scifeon´s SAPPA P...
info969686
 
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
Difference Between Kubernetes and Docker .pdf
Kindlebit Solutions
 
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
Transform Retail with Smart Technology: Power Your Growth with Ginesys
Ginesys
 
interacting-with-ai-2023---module-2---session-3---handout.pdf
cniclsh1
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PowerISO Crack 2025 – Free Download Full Version with Serial Key [Latest](1)....
HyperPc soft
 
Continouous failure - Why do we make our lives hard?
Papp Krisztián
 
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
EO4EU Ocean Monitoring: Maritime Weather Routing Optimsation Use Case
EO4EU
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
Cubase Pro Crack 2025 – Free Download Full Version with Activation Key
HyperPc soft
 

Sumo Logic QuickStart Webinar Oct 2016

  • 1. Sumo Logic Confidential QuickStart Webinar Getting Started with Sumo Logic Mario Sánchez October 2016 Welcome. To give everyone a chance to successfully connect, we’ll start at 10:05 AM Pacific. Note you are currently muted.
  • 2. Sumo Logic Confidential At the completion of this webinar, you will be able to… Understand Data Collection (Admin Topic) Search, Parse and Analyze Data Visualize and Monitor through Dashboards & Alerts Take advantage of the content Library and Apps
  • 4. Sumo Logic Confidential Continuous Intelligence DEVOPS IT INFRASTRUCTURE AND OPERATIONS COMPLIANCE AND SECURITY DEVOPS Streamline continuous delivery Monitor KPI’s and Metrics Accelerate Troubleshooting IT INFRASTRUCTURE AND OPERATIONS Monitor all workloads Troubleshoot and increase uptime Simplify, Modernize, and save costs COMPLIANCE AND SECURITY Automate and demonstrate compliance Audit all systems Think beyond rules Sumo Logic Cloud Analytics Service
  • 5. Sumo Logic Confidential Enterprise Logs are Everywhere Custom App Code Server / OS Virtual Databases Network Open Source Middleware Content Delivery IaaS, PaaS SaaS Security
  • 7. Sumo Logic Confidential Sumo Logic Data Flow Data Collection Search & Analyze Visualize & Monitor Alerts Dashboards Collectors Sources Operators Detect 1 2 3
  • 9. Sumo Logic Confidential Host A Collectors and Sources Apache Access Apache Error Collector A Host B Collector B Host C Collector C Apache Access Apache Error IIS Logs IIS W3C Logs
  • 10. Sumo Logic Confidential Metadata Fields Name Description _collector Name of the collector this data came from _source Name of the source this data came through _sourceHost Hostname of the server this data came from _sourceName Name of the log file (including path) _sourceCategor y Category designation of source data Tags added to your messages when data is collected Host A Apache Access Apache Error Collector A
  • 11. Sumo Logic Confidential Host A Metadata Field: Source Category Apache Access WS/Apache/Access Apache Error WS/Apache/Error Collector A Host B Collector B Host C Collector C Apache Access WS/Apache/Access Apache Error WS/Apache/Error IIS Logs WS/IIS IIS W3C Logs WS/IIS/W3C Sample Searches for _sourceCategory: = WS/Apache/Access = WS/Apache/* = WS/*
  • 12. Sumo Logic Confidential Source Category Naming Convention Simplifies Search Syntax and Scope Definitions Used for other Sumo Logic features Role-Based Access Control (Data Provisioning) Partitioning (Search Optimization Tool) Adopt a Robust Naming Convention Early Ex: Prod/Sumo/Apache/Access  Env/Customer/Device/MessageType Ex: OS/Windows/2012/Messages  Device/Vendor/Version/MessageType Blog Post: Good SourceCategory, Bad SourceCategory
  • 14. Sumo Logic Confidential Set your Preferences Set your Session Timeout Query Editing versus Running
  • 15. Sumo Logic Confidential Search Basics Overview Time Range Histogram Search Bar Search Results Display Options
  • 16. Sumo Logic Confidential Field Browser - Metadata fields Sumo Logic Confidential Field Browser Metadata Fields Parsed Fields
  • 17. Sumo Logic Confidential Search Structure Keywords and operators (separated by pipes) that build on top of each other Syntax: metadata tags + keywords | parse | filter | aggregate | sort | limit Example Search: Results where metadata keyword
  • 18. Sumo Logic Confidential Keyword Search Case Insensitive Wildcard Support (e.g. ERR*) Boolean Logic Support AND OR !(A OR B) Combine these keywords with metadata fields Bloom filters Using keywords helps bloom filters locate data very quickly
  • 19. Sumo Logic Confidential • Determine the data available through your search. • Pre-populated Dropdown – Last 15 min, Today • Absolute – 12:25PM 12:30PM – 8/11/2015 13:00AM 8/11/2015 14:00AM • Relative – -5m – -2h – -2d -1d Time Range
  • 20. Sumo Logic Confidential Develop Good Search Habits Use metadata and keyword combinations to reduce scope Add line breaks after each operation Limit result sets before aggregating data  user=a | count by user Use parse anchor instead of parse regex for structured messages Avoid the use of expensive parse regex tokens like .*  d{2,10} Narrow your time-range down as much as possible
  • 21. Sumo Logic Confidential Refining Results by Surrounding Messages
  • 22. Sumo Logic Confidential • LogReduce uses fuzzy logic and soft matching to cluster messages providing quick investigation view into your environment. Operators: Looking for the Unknown
  • 23. Sumo Logic Confidential • Identify unexpectedly high or low values within determined thresholds |timeslice 1m |count by _timeslice |outlier _count Operators: Finding Outliers
  • 24. Sumo Logic Confidential • Parsing enables a user to extract parts of a message and classify them as fields. – Enables you to perform additional operations • Logical/conditional – based on values • Mathematical – operations on value sets • Parsing Options – parse anchor: Leverages beginning and ending anchors – parse regex: Extracts nested information via regex Extracting and Labeling Additional Fields
  • 25. Sumo Logic Confidential Parse Anchor - Using the UI Highlighting strings in the result allow you to launch the UI parser UI Parser allows you to select fields and label them Results now show your parsed fields
  • 26. Sumo Logic Confidential • Extracts nested information via regular expressions • Use if the construct of the messages is inconsistent _sourceCategory=Apache/Access | parse regex "[A-Z]+s(?<url>/S*)sHTTP/1.d+"s(?<status_code>d+)s" Parse Regex
  • 27. Sumo Logic Confidential Regular Expressions – References and Resources Regular Expressions use JRE Online Resources: • regex101.com • Regular-expressions.info/refadv.html • en.wikipedia.org/wiki/Regular_expression • regexr.com • Book – Mastering Regular Expressions by Jeffrey E.F. Friedl
  • 28. Sumo Logic Confidential Parsing with Field Extraction Rules Field Extraction Rules Parse the data on ingest rather than run-time; simplifies searches Take advantage of interactive dashboard filters
  • 29. Sumo Logic Confidential Evaluates messages and places them into groups • Produces aggregates in a separate tab • Must come after basic operators such as parse. Cannot be used with summarize. • The count Operator enables you to group messages that match a classification – Ex: _sourceCategory=Apache* | count as mycount – Ex: GET | count by _sourceCategory Grouping your Data
  • 30. Sumo Logic Confidential • Dissecting your result sets using Metadata Fields – Ability to aggregate results sets and grouping them by metadata fields • EX: _collector=*apache* | count by _sourceCategory – Get a count of grouped result sets • Ex: (Error OR fail*)| count by _sourcecategory , _sourcehost – Organize Results by Count • Ex: _collector=*apache*| count by _sourceCategory | sort by _count Leveraging Metadata for Grouping
  • 31. Sumo Logic Confidential Timeslice operator enables you to segment your results by time buckets – Minute (timeslice by 5m) – Hour (timeslice by 1h) – Day (timeslice by 1d) Example: _sourceCategory=Apache/Access GET |timeslice 1m | count by _timeslice | sort by _timeslice asc Time-based Grouping
  • 33. Sumo Logic Confidential Collection of Panels that provide graphical representation of data • Each Panel processes results of a single search • Additional Analysis: Drilldown into corresponding query or another Dashboard Intro to Dashboards
  • 34. Sumo Logic Confidential • Chart Types – Table – Bar – Column – Line – Area – Pie – Box Plot – Google Maps – Single Value Providing Context through Visualization
  • 35. Sumo Logic Confidential • Live Mode – Provides a live stream of data – No Back filling of data Dashboard Features Toggle Live Mode
  • 36. Sumo Logic Confidential Live versus Interactive Mode Use Case Examples Dashboard Type Large screen displays with streaming updates Shared Screens for NOC, Operations, Developers. Live Mode Template for Exploring Data Operational Investigations (i.e. Root cause analysis) Interactive Mode Historical Reporting and Investigation Audits, Failed/successful logins for certain groups Interactive Mode
  • 37. Sumo Logic Confidential • Search based (On-Demand) • Backfilling of data • Support Filtering Dashboard Features Select Time Range for all PanelsAbility to use Pre-defined filters Select filters for individual panels Select time range for individual panels
  • 38. Sumo Logic Confidential • Filters allow for panels results to be limited dynamically • Filters can be assigned at: – Dashboard level, Panel Level or both • Filters can be string based or numeric – The * wildcard is supported for non-numeric filters – Numeric comparison operators supported: >,<,>=,<= Filtering Details
  • 39. Sumo Logic Confidential Dashboards - Adding a Panel 1. Perform your Search 2. Format your Results 3. Create a Panel
  • 40. Sumo Logic Confidential Alerting – Scheduled Searches Using a Scheduled Search, you can set Alerts to trigger whenever the search completes or when a certain condition is met. Alert types include: • Save to Index • Script Action • Email • Webhooks Blog Post: 2 Key Principles for Creating Meaningful Alerts
  • 41. Sumo Logic Confidential Saving and Scheduling an Alert 1. Save your Search 2. Schedule the Search 3. Specify frequency and time range 4. Specify Alert condition & threshold 5. Specify Alert Type and details
  • 44. Sumo Logic Confidential In Summary, with Sumo Logic, you can… Ingest any type of logs (structured and non-structured) Query and Analyze using Operators Visualize data through Charts and Dashboards Alert on Critical Events Call to Action: Ensure you have a robust _SoureCategory naming convention Set up Field Extraction Rules for your popular data sources
  • 45. Sumo Logic Confidential Questions? Consume Training sumologic.com/training Read Documentation help.sumologic.com Search/Post to Community community.sumologic.com Open a Support Case support.sumologic.com Log a Feature Request sumologic.ideas.aha.io/ideas

Editor's Notes

  • #2: Welcome everyone to Sumo Logic’s Quickstart Webinar. My name is …. And I am … My goal today is to provide you with basic understanding of the Sumo logic Service and how it can help you uncover events that were difficult to do with simple searches and greps. Before we get started, some let’s cover some housekeeping items: - To avoid distractions, all Participants are muted - If you want to ask a question, feel free to use the GoToWebinar panel - Slides and a recording of this webinar will be shared
  • #3: Given that we have quite a few beginners, we will start with a high-level view and then dive into details. We will start with.. (review entire agenda) - Although we will cover a few slides, most of this webinar will be done through a demo (a specific use case related to web servers) – reviewing the recording will allow you to follow along in your environment with your own data. Note that Tips and Tricks and Best Practices will be scattered throughout the presentation
  • #4: Sumo Logic helps you gain insights into the growing pool of data within your complex environment. We help you gain visibility across DevOps, IT Ops and Compliance and Security environments.
  • #5: Most of you are using the Sumo Logic service for at least one of the 3 following use cases: For DevOps –allows DevOps teams to monitor KPI’s to deliver quality software; less time troubleshooting and more time developing code. For IT Ops – Extract valuable information such as latencies, performance metrics, trends and any critical events tied with core systems. For Compliance and Security – Sumo Logic helps organizations simplify and automate compliance & security monitoring across their entire stack, using predictive analytics
  • #6: Because we are a cloud-native solution, securing your data is extremely important to us. These are some of the certifications we hold. Note that this are on top of any AWS security certifications. Sumo Logic is the most thoroughly audited SaaS provider in the analytics space. We are more akin to an organization that harbors government data, than a normal technology company. Below is a link that gives you ore detail of each certification achieved.
  • #7: What data can we ingest? We can ingest data from just about any source you can imagine - structured or unstructured. Here are just a few of the devices, applications and frameworks you may be using - all of which produce log data that SL can analyze. The left hands side can present you technology stack – from custom application code all the way down to your network devices. Sumo Logic has hired a few people from these organizations to expand our domain expertise in these areas.
  • #9: Sumo Logic Data Flow is broken into 3 main areas: Data Collection through configurable Collectors and Sources. Collectors collect, compress, cache and encrypt the data for secure transfer. Search and Analyze – Users can run searches and correlate events in real-time across the entire application stack. We will be spending most of our time in this area during this webinar, as this is most likely what you will first be doing as a new user. Visualize and Monitor- Users have the ability to create custom dashboards to help you easily monitor your data in real-time. Custom alerts notify you when specific events are identified across your stack. I will cover Data Collection at a high-level, and cover the next 2 areas through a demo.
  • #11: This is an great example what we see at a typical customer. This customer is sending web server log files to the Sumo Logic service. Host A and Host B are each sending a couple of log files through a locally installed Sumo Logic collector. In the case of Host C, which is sending IIS log files, it’s using a hosted collector where a local script in Host C can send data to an HTTP endpoint (running curl and POST commands). Hosted collectors are also able to load data from AWS S3 buckets. For instructor: Demo how to search help for “collector types” The great news for this customer is that they can centralize all their webserver logs, and start searching across all logs, or just Apache logs, or just Host B logs.
  • #12: Great, data is ingested into the Sumo Logic service, but something else is also happening in the background. Every single message ingested gets tagged with metadata that makes it much easier to search for related messages. This table shows the 5 main tags (review them all) In particular, I want to point out the source Category metadata field, as choosing the right naming convention can make a big impact on your searching capabilities and performance.
  • #13: This example will highlight the importance of defining the proper source category: Notice I’ve added the desired SourceCategory for each Source: = WS/Apache/Access Searches across Apache Security logs in both Host A and Host B = WS/Apache/* Searches across all Apache sources in both Host A and Host B = WS/* Searches across all Web Servers across all hosts
  • #14: Source Categories are very powerful, and adopting a robust naming convention early is key to simplify your searches and scope definitions. Source Category is also used in other areas of our service, for example, for restricting or granting data access to users and roles, or for optimizing searches through partitions (which we will talk about later in this webinar)
  • #15: The second area of Data flow is Search and Analyze. I will jump into a demo to show you more detail of how this can be done.
  • #19: The combination of metadata and keywords reflect the search of your scope. This is what we’re going to talk a little bit more about in the next few slides. It’s very important that you be very selective about the data you’ll be searching through.
  • #20: You’ll also want to include keywords as part of your search scope. Architecture discussions – show how the searches work in the backend
  • #22: Plug for regex101.
  • #23: Surrounding messages allow you to investigate events surrounding a message from the context of the Host, file name or category identified enabling you to view the activity for the defined time period.
  • #24: Introduce LogReduce Here we see the search “ (Error OR fail*)” returns 99 pages of error results, which can be cumbersome to go through. What you can do is click on the LogReduce button to invoke the Sumo Logic log reduce technology via the summarize operator to automatically find patterns in your logs and reduce this result set to a single page.
  • #25: Demo the outlier operator Timeslices are required Adjustable variables allow you to get the right sensitivity Threshold Number of rolling stddev above/below the moving average Default: 3 Consecutive Number of consecutive points above/below the threshold to trigger Default: 1 Direction Detect high values, low values or both Default: Both Window Number of trailing timeslices used to calculate Default: 10
  • #26: Need Identify Specific value you want to extract It enables you to perform additional operations Logical/Conditional – based on values Mathematical - Ways of defining fields Parse Anchor: is used to extract a string based on start and stop anchor points, and then to alias the extracted string as a user-created field. Parse Regex: or Extract, uses regular expressions to extract more complex or nested information as aliased fields.
  • #27: Walk through screenshots for defining one field
  • #28: We add the [A-Z]+ to denote all uppercase HTTP methods like GET, POST, CONNECT, PUT, DELETE etc. Also we make sure we are capturing a URL but specifying the starting character is a / and that it has one or more non-white space chars in it followed by a HTTP/1.\d+ word.
  • #31: Now that u have your data, whats next. See how your data is segmented – you can do this by grouping / Dissecting your result sets using meta data fields Example: Counting by _sourceCategory Introduce concept of count Example: count on no groups Get a count of grouped result sets Example: Group by one group (category) Many _sourcecategory and host Include the underscore before the field name (sort by _count)
  • #32: Now that u have your data, whats next. See how your data is segmented – you can do this by grouping / Dissecting your result sets using meta data fields Example: Counting by _sourceCategory Introduce concept of count Example: count on no groups Get a count of grouped result sets Example: Group by one group (category) Many _sourcecategory and host Include the underscore before the field name (sort by _count)
  • #36: Different ways of seeing the same data in Interactive Search