SlideShare a Scribd company logo
Central Log Management
Senior Technical Specialist
Technical Support Services – Computing Platforms
University of Cape Town
Stefan Coetzee
Information & Communication
Technology Services
Splunk
Central Log Management
Splunk
Splunk Enterprise is a solution for collecting, analyzing & monitoring of machine data. It
also provides visualization & reporting features and even alerting on the data it gathers.
Central Log Management
Splunk Features
Collect & Index Machine Data
Collect & index data from almost any source, including log files, tcpudp data
streams, windows event service, syslog and many more.
Search & Investigate
Powerful searching and analytics platform to filter through data and correlate events.
Monitor & Alert
Building on the power of the search engine, build monitors and alerts that trigger on
certain events. Trigger emails or 3rd party scripts on alerts.
Report & Analyze
Build reports and send them to stakeholders. Embed charts into 3rd party
applications to give broader accessibility with drilldown support.
Custom Views and Dashboard
Build dashboards and views that meet the needs of different user groups.
Splunk Apps
Use prebuild dashboards, views, reports, collectors, monitors & alerts that are
bundled into a Splunk App with a quick ROI.
Central Log Management
Splunk Features (Cont)
Role Based Security
Only give access to data as required, audit access to data and integrate with existing
LDAP infrastructure for authentication.
Central Log Management
Splunk Pros & Cons
Pros
• Feature rich
• Large community
• Fast (Very Fast)
Cons
• Expensive (Very expensive as Enterprise Apps are no longer part of base subscription)
• Licensing per GB not server based
Central Log Management
Deployment @ UCT
Central Log Management
Dashboards - CAS
Central Log Management
Dashboards – DC Power
Central Log Management
Dashboards - EXIM
Central Log Management
Alerts
Eduroam Usage
Monitors eduroam login sessions and flag users authenticating from too many
devices.
Alert Triggers email to service desk, working on Service Now integration
EXIM Spam
Monitors email relaying through EXIM and flags possible exploited servers
Alert Triggers email to system owner
Exchange UserID
Monitors authentication to Exchange and updates PaloAlto username-IP map.
Alert Triggers script which send login information (username & IP) to PaloAlto
CAS UserID
Monitors authentication via CAS (Central Authentication Service)
Alert Triggers script which send login information (username & IP) to PaloAlto
ADFS UserID
Monitors authentication via ADFS (Active Directory Federation Services
Alert Triggers script which send login information (username & IP) to PaloAlto
ELK Stack
Elasticsearch, Logstash, Kibana
Central Log Management
Logstash
Logstash is a data pipeline that helps you process your logs and event data and send
them to a central system.
Input
• file, tcp, udp, drupal_dblog, syslog, jmx, etc
Filter
• grok, geoip, useragent, mutate, date, drop, etc
Output
• elasticsearch, csv, ganglia, syslog, http, file, etc
Central Log Management
Elasticsearch
Elasticsearch is a Lucene based distributed full-text search engine with a RESTful web
interface and schema-free JSON documents.
Cluster
A Cluster is a collection of 1 or more nodes that holds data and provides federated
indexing.
Node
A node is a single server that is part of your cluster, stores your data, and
participates in the cluster’s indexing and search capabilities
Index
An index is a collection of documents that have somewhat similar characteristics.
Shards & Replicas
An index is split up into shards (smaller chunks), which are in turn distributed across
the cluster nodes.
Central Log Management
Elasticsearch (Cont)
Elasticsearch is a Lucene based distributed full-text search engine with a RESTful web
interface and schema-free JSON documents.
Cluster
A Cluster is a collection of 1 or more nodes that holds data and provides federated
indexing.
Node
A node is a single server that is part of your cluster, stores your data, and
participates in the cluster’s indexing and search capabilities
Index
An index is a collection of documents that have somewhat similar characteristics.
Shards & Replicas
An index is split up into shards (smaller chunks), which are in turn distributed across
the cluster nodes.
Cluster
Node
Index
Index
S0
S0
R2R1
R1 R2
Node
Index
Index
S1
S1
R2R0
R0 R2
Node
Index
Index
S2
S2
R1R0
R0 R1
Central Log Management
Kibana
Kibana is a visualization and analytics platform designed to work with elasticsearch.
Perform advanced data analysis and visualize your data in a variety of charts, tables, and
maps.
Central Log Management
Why ELK?
We needed to archive log entries for perimeter firewall which averages about 4000 tps.
Daily index is about 70GB, which is larger than our current splunk license, and was going
to cost ±R500 000 to upgrade license
Central Log Management
ELK @ UCT
syslog
Shipper Redis
IndexerElasticsearch
Central Log Management
Shipper Config
input {
udp {
type => "paloalto-syslog"
port => 5514
}
}
output {
redis { host => "127.0.0.1" data_type => "list" key => "paloalto-syslog" }
}
Central Log Management
Indexer Config
input {
redis {
...
}
}
filter {
if [message] =~ "TRAFFIC" {
csv {
columns => [ "FUTURE_USE_1", "Receive_Time", "Serial_Number", "Type", "Subtype", "FUTURE_USE_2”, ...]
}
mutate {
remove_field => [ "FUTURE_USE_1", "FUTURE_USE_2", ... ]
convert => { "Packets_Sent" => "integer" }
...
}
}
if [message] =~ "THREAT" {
...
}
...
}
output {
elasticsearch {
...
}
}
Thank You

More Related Content

PDF
Scaling ELK Stack - DevOpsDays Singapore
PPTX
ELK at LinkedIn - Kafka, scaling, lessons learned
PDF
ELK in Security Analytics
PPTX
Case Study: Elasticsearch Ingest Using StreamSets at Cisco Intercloud
PPTX
The Elastic Stack as a SIEM
PDF
Building Realtime Data Pipelines with Kafka Connect and Spark Streaming
PDF
What to Expect for Big Data and Apache Spark in 2017
PDF
An Open Source NoSQL solution for Internet Access Logs Analysis
Scaling ELK Stack - DevOpsDays Singapore
ELK at LinkedIn - Kafka, scaling, lessons learned
ELK in Security Analytics
Case Study: Elasticsearch Ingest Using StreamSets at Cisco Intercloud
The Elastic Stack as a SIEM
Building Realtime Data Pipelines with Kafka Connect and Spark Streaming
What to Expect for Big Data and Apache Spark in 2017
An Open Source NoSQL solution for Internet Access Logs Analysis

What's hot (20)

PDF
Security Analytics using ELK stack
PPTX
DevOps, Yet Another IT Revolution
PPTX
Cloud native data platform
KEY
Cascalog at May Bay Area Hadoop User Group
PDF
Superset druid realtime
PDF
Presto @ Facebook: Past, Present and Future
PPTX
Presto@Netflix Presto Meetup 03-19-15
PDF
Presto at Hadoop Summit 2016
PDF
Elastic v5.0.0 Update uptoalpha3 v0.2 - 김종민
PDF
2016 Spark Summit East Keynote: Matei Zaharia
PDF
JOSA TechTalk: Realtime monitoring and alerts
PDF
Low-latency data applications with Kafka and Agg indexes | Tino Tereshko, Fir...
PDF
Data Policies for the Kafka-API with WebAssembly | Alexander Gallego, Vectorized
PDF
The Key to Machine Learning is Prepping the Right Data with Jean Georges Perrin
PPTX
Hello, Enterprise! Meet Presto. (Presto Boston Meetup 10062015)
PPTX
Тарас Кльоба "ETL — вже не актуальна; тривалі живі потоки із системою Apache...
PDF
Streamsets and spark in Retail
PDF
Small intro to Big Data - Old version
PPTX
Open source big data landscape and possible ITS applications
PPTX
Logstash, Elasticsearch and Kibana
Security Analytics using ELK stack
DevOps, Yet Another IT Revolution
Cloud native data platform
Cascalog at May Bay Area Hadoop User Group
Superset druid realtime
Presto @ Facebook: Past, Present and Future
Presto@Netflix Presto Meetup 03-19-15
Presto at Hadoop Summit 2016
Elastic v5.0.0 Update uptoalpha3 v0.2 - 김종민
2016 Spark Summit East Keynote: Matei Zaharia
JOSA TechTalk: Realtime monitoring and alerts
Low-latency data applications with Kafka and Agg indexes | Tino Tereshko, Fir...
Data Policies for the Kafka-API with WebAssembly | Alexander Gallego, Vectorized
The Key to Machine Learning is Prepping the Right Data with Jean Georges Perrin
Hello, Enterprise! Meet Presto. (Presto Boston Meetup 10062015)
Тарас Кльоба "ETL — вже не актуальна; тривалі живі потоки із системою Apache...
Streamsets and spark in Retail
Small intro to Big Data - Old version
Open source big data landscape and possible ITS applications
Logstash, Elasticsearch and Kibana
Ad

Viewers also liked (20)

PDF
FlexPod_for_HondaTH
PDF
PAN Platform Summary
PPTX
Modern Malware by Nir Zuk Palo Alto Networks
PPT
Vsphere 4-partner-training180
PPTX
Vfm website-projects
PDF
VMworld 2013: VMware NSX with Next-Generation Security by Palo Alto Networks
PDF
Webinar NETGEAR - ProsSafe Switch gestibili e supporto della configurazione ...
PPTX
User Expert forum Wildfire configuration
PDF
Concepts: Management VLAN
PPTX
TechWiseTV Workshop: Nexus Data Broker
PDF
User expert forum user-id
PPTX
Vfm strategic benefits from caching
PPTX
Vfm corporate presentation v1
PPTX
Vfm palo alto next generation firewall
PDF
Palo Alto Virtual firewall deployment Architecture
PPTX
Palo Alto Networks - Just another Firewall
PDF
User id installation and configuration
PPTX
Palo alto networks_customer_overview_november2011-short
PPTX
Palo alto networks
PPTX
Disrupting the Malware Kill Chain - What's New from Palo Alto Networks.
FlexPod_for_HondaTH
PAN Platform Summary
Modern Malware by Nir Zuk Palo Alto Networks
Vsphere 4-partner-training180
Vfm website-projects
VMworld 2013: VMware NSX with Next-Generation Security by Palo Alto Networks
Webinar NETGEAR - ProsSafe Switch gestibili e supporto della configurazione ...
User Expert forum Wildfire configuration
Concepts: Management VLAN
TechWiseTV Workshop: Nexus Data Broker
User expert forum user-id
Vfm strategic benefits from caching
Vfm corporate presentation v1
Vfm palo alto next generation firewall
Palo Alto Virtual firewall deployment Architecture
Palo Alto Networks - Just another Firewall
User id installation and configuration
Palo alto networks_customer_overview_november2011-short
Palo alto networks
Disrupting the Malware Kill Chain - What's New from Palo Alto Networks.
Ad

Similar to NATE-Central-Log (20)

PPTX
centralization of log systems pour suivis
PDF
Getting Started with Splunk Enterprise
PPTX
Elasticsearch features and ecosystem
PPTX
Log analysis using elk
PDF
trisulnsm_6.5_datasheet
PPTX
Centralized Logging System Using ELK Stack
PPTX
Logging using ELK Stack for Microservices
PDF
CRYPTTECH PRODUCTS
PDF
SRE Certification and SRE Courses Online in India – Visualpath.pdf
PDF
Analytics and Visualization in your Secured Infrastructure Network.
PDF
ExtraHop Product Overview Datasheet
PDF
Elasticsearch
PPTX
Sql server lesson12
PPSX
Sql server lesson12
PPTX
Building a Modern, Scalable Cyber Intelligence Platform with Apache Kafka | J...
PDF
File access auditing
PPTX
ELK Solutions Enablement Session - 17th March'2020
PPTX
Internship msc cs
PPTX
Apache Spark Streaming -Real time web server log analytics
PPTX
OPEN TEXT ADMINISTRATION
centralization of log systems pour suivis
Getting Started with Splunk Enterprise
Elasticsearch features and ecosystem
Log analysis using elk
trisulnsm_6.5_datasheet
Centralized Logging System Using ELK Stack
Logging using ELK Stack for Microservices
CRYPTTECH PRODUCTS
SRE Certification and SRE Courses Online in India – Visualpath.pdf
Analytics and Visualization in your Secured Infrastructure Network.
ExtraHop Product Overview Datasheet
Elasticsearch
Sql server lesson12
Sql server lesson12
Building a Modern, Scalable Cyber Intelligence Platform with Apache Kafka | J...
File access auditing
ELK Solutions Enablement Session - 17th March'2020
Internship msc cs
Apache Spark Streaming -Real time web server log analytics
OPEN TEXT ADMINISTRATION

NATE-Central-Log

  • 1. Central Log Management Senior Technical Specialist Technical Support Services – Computing Platforms University of Cape Town Stefan Coetzee Information & Communication Technology Services
  • 3. Central Log Management Splunk Splunk Enterprise is a solution for collecting, analyzing & monitoring of machine data. It also provides visualization & reporting features and even alerting on the data it gathers.
  • 4. Central Log Management Splunk Features Collect & Index Machine Data Collect & index data from almost any source, including log files, tcpudp data streams, windows event service, syslog and many more. Search & Investigate Powerful searching and analytics platform to filter through data and correlate events. Monitor & Alert Building on the power of the search engine, build monitors and alerts that trigger on certain events. Trigger emails or 3rd party scripts on alerts. Report & Analyze Build reports and send them to stakeholders. Embed charts into 3rd party applications to give broader accessibility with drilldown support. Custom Views and Dashboard Build dashboards and views that meet the needs of different user groups. Splunk Apps Use prebuild dashboards, views, reports, collectors, monitors & alerts that are bundled into a Splunk App with a quick ROI.
  • 5. Central Log Management Splunk Features (Cont) Role Based Security Only give access to data as required, audit access to data and integrate with existing LDAP infrastructure for authentication.
  • 6. Central Log Management Splunk Pros & Cons Pros • Feature rich • Large community • Fast (Very Fast) Cons • Expensive (Very expensive as Enterprise Apps are no longer part of base subscription) • Licensing per GB not server based
  • 11. Central Log Management Alerts Eduroam Usage Monitors eduroam login sessions and flag users authenticating from too many devices. Alert Triggers email to service desk, working on Service Now integration EXIM Spam Monitors email relaying through EXIM and flags possible exploited servers Alert Triggers email to system owner Exchange UserID Monitors authentication to Exchange and updates PaloAlto username-IP map. Alert Triggers script which send login information (username & IP) to PaloAlto CAS UserID Monitors authentication via CAS (Central Authentication Service) Alert Triggers script which send login information (username & IP) to PaloAlto ADFS UserID Monitors authentication via ADFS (Active Directory Federation Services Alert Triggers script which send login information (username & IP) to PaloAlto
  • 13. Central Log Management Logstash Logstash is a data pipeline that helps you process your logs and event data and send them to a central system. Input • file, tcp, udp, drupal_dblog, syslog, jmx, etc Filter • grok, geoip, useragent, mutate, date, drop, etc Output • elasticsearch, csv, ganglia, syslog, http, file, etc
  • 14. Central Log Management Elasticsearch Elasticsearch is a Lucene based distributed full-text search engine with a RESTful web interface and schema-free JSON documents. Cluster A Cluster is a collection of 1 or more nodes that holds data and provides federated indexing. Node A node is a single server that is part of your cluster, stores your data, and participates in the cluster’s indexing and search capabilities Index An index is a collection of documents that have somewhat similar characteristics. Shards & Replicas An index is split up into shards (smaller chunks), which are in turn distributed across the cluster nodes.
  • 15. Central Log Management Elasticsearch (Cont) Elasticsearch is a Lucene based distributed full-text search engine with a RESTful web interface and schema-free JSON documents. Cluster A Cluster is a collection of 1 or more nodes that holds data and provides federated indexing. Node A node is a single server that is part of your cluster, stores your data, and participates in the cluster’s indexing and search capabilities Index An index is a collection of documents that have somewhat similar characteristics. Shards & Replicas An index is split up into shards (smaller chunks), which are in turn distributed across the cluster nodes. Cluster Node Index Index S0 S0 R2R1 R1 R2 Node Index Index S1 S1 R2R0 R0 R2 Node Index Index S2 S2 R1R0 R0 R1
  • 16. Central Log Management Kibana Kibana is a visualization and analytics platform designed to work with elasticsearch. Perform advanced data analysis and visualize your data in a variety of charts, tables, and maps.
  • 17. Central Log Management Why ELK? We needed to archive log entries for perimeter firewall which averages about 4000 tps. Daily index is about 70GB, which is larger than our current splunk license, and was going to cost ±R500 000 to upgrade license
  • 18. Central Log Management ELK @ UCT syslog Shipper Redis IndexerElasticsearch
  • 19. Central Log Management Shipper Config input { udp { type => "paloalto-syslog" port => 5514 } } output { redis { host => "127.0.0.1" data_type => "list" key => "paloalto-syslog" } }
  • 20. Central Log Management Indexer Config input { redis { ... } } filter { if [message] =~ "TRAFFIC" { csv { columns => [ "FUTURE_USE_1", "Receive_Time", "Serial_Number", "Type", "Subtype", "FUTURE_USE_2”, ...] } mutate { remove_field => [ "FUTURE_USE_1", "FUTURE_USE_2", ... ] convert => { "Packets_Sent" => "integer" } ... } } if [message] =~ "THREAT" { ... } ... } output { elasticsearch { ... } }