14
Log Analysis using Open Source Scalable Systems Gurvinder Singh UNINETT

Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Log Analysis using Open Source Scalable SystemsGurvinder SinghUNINETT

Page 2: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Motivation

● Distributed Systems

● In the moment of heat

● Centeralized interface to logs

● Easier access

● Detection of hidden pattern

4/25/14 SLIDE 2

http://www.themeparkreview.com/tatsumediaday/tatsumediaday57.jpg

Page 3: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Challenges

● Almost every component generates logs

● Different Formats and logging methods

● Different requirements for processing

● Dashboards

● Alerts

4/25/14 SLIDE 3

http://img72.imageshack.us/img72/3885/nephew2logs.jpg

Page 4: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Components

● Logstash

● Elasticsearch

● Kibana

● Redis

● Beaver

● Logstash-forwarder

● .....

4/25/14 SLIDE 4

Page 5: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Most Common Architecture

Page 6: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Architecture

Page 7: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Architecture

Page 8: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Architecture

Page 9: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Architecture

Page 10: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Production Architecture

Page 11: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Demo

Page 12: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Possible Input/Processing/Output Options

4/25/14SLIDE

12

Page 13: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Experience till yet

● Data Model to make consistent view of log fields across services

– e.g. Search for user «xyz» in all different services

– Give me all the logs from host «X» for all the services

● Avoid single point of failure if possible

● Automate setup to help scale easily

● Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue

● No users concept in the Elasticsearch or Kibana

● Lack of access & authorization control

● Lack of Hierarichical storage support to exploit fast stroage medium to hot data and slow storage medium for cold data

4/25/14SLIDE

13

Page 14: Log Analysis using Open Source Scalable Systems...Automate setup to help scale easily Set minimum number of master nodes in Elasticsearch cluster to avoid split-brain issue No users

Questions?

4/25/14SLIDE

14