SlideShare a Scribd company logo
1 of 64
Download to read offline
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
2019.06.18
U T R E C H T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Analyzing your web and application logs
Athena, Cloud Watch Logs, Lambda, Kinesis Firehose, and the Elasticsearch Service
Javier Ramirez
AWS Tech Evangelist
@supercoco9
B A R 2
U T R E C H T
2019.06.18
http://gunshowcomic.com/648
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
A day in the life of an engineer
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
My journey from beginner to professional developer
Solution
I run all my
programs
interactively
Late 80s
The Amstrad and
Spectrum years
Print before every
command, see
where it breaks
I run some
programs in the
background
Early 90s
The Amiga and PC years
Open a file for
writing and print
to that file
I need to have
different levels of
debugging.
Late 90s
The Solaris years
Fill the code with
IFs, to
conditionally
print to the file
50% of my
code is
If(debug)
Early 00s
The Linux years
Give Log4j a try
My hard
drive is full
Mid 00s
The NFS years
Hello logrotate
I have no
Idea in
which
servers my
logs are
Early 2010s
The Cloud years
Ship to S3
My logs are
full of
insights
Mid 2010s
The Logstash years
Normalise, Enrich,
index, and analyse
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Two types of log analytics
• Batch analytics
• Operational (~real-time) analytics
Amazon Global Network
• Redundant 100GbE network
• Redundant private capacity
between all Regions except China
180 Global CloudFront PoPs
(11 regional edge caches)
a e
o
q
i
h
Paris
Sweden
AWS GovCloud East
First 5 years: 4 regions
2016–2020: 14 regions
Next 5 years: 7 regions
A W S
REGIONS
2 1 R e g i o n s 6 6 A Z s
d
m
c
g
b
n
s
k
v
i
i
i
i i
i
i
i
Milan
i
Cape Town
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Measure Amazon CloudFront performance
• Third-party tools
• Cedexis
• WebPageTest
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Measure Amazon CloudFront performance
• CloudFront Access Logs
• Delivered to an Amazon Simple Storage Service (Amazon S3) bucket
• Includes timeToDownload, cache HIT/MISS, errors, and more
#Version: 1.0
#Fields: date time x-edge-location sc-bytes c-ip cs-method cs(Host) cs-uri-stem sc-status cs(Referer) cs(User-Agent) cs-uri-query
cs(Cookie) x-edge-result-type x-edge-request-id x-host-header cs-protocol cs-bytes time-taken x-forwarded-for ssl-protocol ssl-
cipher x-edge-response-result-type cs-protocol-version fle-status fle-encrypted-fields
2018-04-07 14:50:37 JFK5 562 207.46.13.70 GET d3vxovn305eucd.cloudfront.net /robots.txt 301
- Mozilla/5.0%2520(compatible;%2520bingbot/2.0;%2520+http://www.bing.com/bingbot.htm) - -
Redirect 9N2U5NMte4dco5qPUGnZM6rRxKsfLtRWbpTZzWHKFsTGxw_Zh2bzfA== dkaran.com http 243 0.000 -
- - Redirect HTTP/1.1 - -
2018-04-07 14:50:37 SEA32 2039 207.46.13.70 GET d3vxovn305eucd.cloudfront.net /robots.txt 404
- Mozilla/5.0%2520(compatible;%2520bingbot/2.0;%2520+http://www.bing.com/bingbot.htm) - -
Error _3CX08QRWugzYNiW0lhiK42DvAfA6BFavZc_Rs4NSpWfvZbB8BrQRQ== dkaran.com
2018-04-07 14:50:57 SEA32 7104 40.77.178.206 GET d3vxovn305eucd.cloudfront.net /style.css 200
https://dkaran.com/
Mozilla/5.0%2520(iPhone;%2520CPU%2520iPhone%2520OS%25207_0%2520like%2520Mac%2520OS%2520X)%2520AppleWebKit/537.51.1%25
20(KHTML,%2520like%2520Gecko)%2520Version/7.0%2520Mobile/11A465%2520Safari/9537.53%2520BingPreview/1.0b- -
Miss 8RDvgIp8Horvy8Lk8vlE_xZk67lmCpdM83z-aXmKi19Gl14scChbow== dkaran.com https 301 0.070 -
TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 Miss HTTP/1.1 - -
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Query Amazon CloudFront logs with Amazon Athena
• Enable access logs on your CloudFront distribution
• Logs are delivered to the Amazon S3 bucket of your choice
CloudFront
log files
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Athena queries for CloudFront logs
CREATE EXTERNAL TABLE IF NOT EXISTS default.cloudfront_logs (
`date` DATE,
time STRING,
location STRING,
bytes BIGINT,
requestip STRING,
method STRING,
host STRING,
uri STRING,
status INT,
referrer STRING,
useragent STRING,
querystring STRING,
cookie STRING,
resulttype STRING,
requestid STRING,
hostheader STRING,
requestprotocol STRING,
requestbytes BIGINT,
timetaken FLOAT,
xforwardedfor STRING,
sslprotocol STRING,
sslcipher STRING,
responseresulttype STRING,
httpversion STRING,
filestatus STRING,
encryptedfields INT
)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY 't'
LOCATION ‘s3://javier-cloud-logs.s3.amazonaws.com/cdn/’
TBLPROPERTIES ( 'skip.header.line.count'='2' )
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Athena queries for CloudFront logs
SELECT date,
time,
location,
requestip,
uri,
resulttype,
requestprotocol,
requestbytes,
timetaken
FROM "default"."cloudfront_logs"
WHERE uri LIKE '%jpg%'
ORDER BY timetaken DESC limit 50;
Requests for JPG images sorted by download time, highest to lowest
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Visualize CDN performance with Amazon QuickSight
• Pull data from Athena table created for CloudFront logs analysis
• Auto-detects data types to fit into graphs
CloudFront
log files
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Visualize CDN performance with Amazon QuickSight
• Select visual type
• Line graphs for trends
over time
• Bar charts to compare
between locations
• Build a story
• Snapshot in time to
present to executives
• Share and export visuals
as needed
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
https://docs.aws.amazon.com/athena/latest/ug/cloudfront-logs.html
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Operational analytics
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The explosion of machine-generated data
Transition from IT
to DevOps
Increase in IoT and
Mobile Devices
Cloud-based
architectures
Machine-generated data is growing 10x faster than business data
Source: insideBigData - The Exponential Growth of Data, February 16, 2017
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Operational analytics requirements/challenges
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenges faced by customers – Log Analytics
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Is there a better solution?
CloudWatch Logs
Log Management
Store and monitor your logs
Log Analytics
Get answers from your logs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon
CloudWatch
Amazon CloudWatch is a
monitoring service for AWS
cloud resources, applications
you run on AWS and onPrem.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.22
Monitor EC2Spot Trends Monitor Other
Resources
Set Alarms -
Events
Monitor Custom
Metrics
Store & Analyze
Logs
Create
Dashboards
Take automated
action
Insights
Logs
Centralize
monitoring
Operational
Status
Troubleshoot
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Complete Visibility of Your
Cloud Resources and
Applications
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.23
“Amazon CloudWatch monitors
more than 800 trillion metric
observations, triggers more than
2 trillion events, and ingests more
than 50 petabytes of logs per
month (*as of March 2018).”
Amazon
CloudWatch
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Features & Benefits
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.24
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Observability requires metrics, logs, and traces
CloudWatch Logs
Log Management
Store and Monitor your logs
CloudWatch
Logs
CloudWatch
Metrics
AWS X-Ray
Traces
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudWatch Logs
CloudWatch Logs
Log Management
Store and Monitor your logs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudWatch Logs
CloudWatch
Logs
Comprehensive
Ingress
Amazon EC2
AWS Lambda
Amazon VPC Amazon ECS
Custom Logs
AWS CloudTrail
Flexible
Egress
Partner tools
Amazon Kinesis
Data Firehose
Amazon S3
Amazon
Elasticsearch Service
AWS Lambda
Integrates easily with AWS services and third-party solutions
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudWatch Logs Insights
An interactive, fully integrated, and
pay-as-you-go log analytics service
for CloudWatch
Introducing
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CloudWatch Logs Insights
CloudWatch
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Simple Query Examples
Calculations
Filters
Counters
Summarizations
Percentiles
Timeseries aggregation
Sorting
Subsets
Full-text search
Column extraction from unstructured logs using the parse command
fields Operation, Bytes, Bytes/1024 as @KBs
filter Latency > 1000
stats count(), distinct(Operation) by Region
stats sum(Latency), avg(Latency), max(Latency) by
Operation
stats percentile(Latency, 99.9) by API
stats count() by bin(5m) as @myBin
sort @myBin desc
limit 20
Hello AND World
Task Example Query
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Advanced Query - Examples
Filtering with calculated values
filter Operation = “MyOperation”
| fields @timestamp, Operation, Bytes/1000 as @KBs
Filtering, aggregate calculation by certain field, with sort
filter Operation != “SomeExcludedOperation”
| stats percentile(Latency, 99.9) as @My3ninesLatency by Operation
| sort @My3ninesLatency desc
| limit 10
Get a timeseries of some aggregates for log events that match a certain regex
filter Operation like /Kinesis/
| stats max(Latency) by bin(5m)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
https://github.com/aws-samples/reinvent2018-dev303-code
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The Amazon Elasticsearch Service
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon Elasticsearch Service is a cost-effective
managed service that makes it easy to deploy,
manage, and scale open-source Elasticsearch and
Kibana for log analytics, full-text search, and more.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Easy to Use
Deploy a production-ready Elasticsearch
cluster in minutes
Simplifies time-consuming management
tasks such as software patching, failure
recovery, backups, and monitoring
Open
Get direct access to the Elasticsearch open-
source API
Fully compatible with the open-source
Elasticsearch API, for all code and
applications
Secure
Secure Elasticsearch clusters with AWS
Identity and Access Management (IAM)
policies with fine-grained access control
access for users and endpoints
Automatically applies security patches
without disruption, keeping Elasticsearch
environments secure
Available
Provides high availability using Zone
Awareness, which replicates data between
two Availability Zones
Monitors the health of clusters and
automatically replaces failed nodes,
without service disruption
AWS Integrated
Integrates with Amazon Kinesis Firehose,
AWS IoT, and Amazon CloudWatch Logs for
seamless data ingestion
AWS CloudTrail for auditing, AWS Identity
and Access Management (IAM) for security,
and AWS CloudFormation for cloud
orchestration
Scalable
Scale clusters from a single node up to 20
nodes
Configure clusters to meet performance
requirements by selecting from a range of
instance types and storage options,
including SSD-powered EBS volumes
Amazon Elasticsearch Service Benefits
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Application Monitoring & Root-cause Analysis
CASE STUDY: EXPEDIA
Logs, lots and lots of logs. How to cost effectively monitor logs?
Require centralized logging infrastructure
Did not have the man power to manage infrastructure
P R O B L E M
Quick insights: Able to identify and troubleshoot issues in real-time
Secure: Integrated w/ AWS IAM
Scalable: Cluster sizes are able to grow to accommodate additional log sources
B E N E F I T S
Streaming AWS CloudTrail logs, application logs, and Docker startup
logs to Elasticsearch
Created centralized logging service for all team members
Using Kibana for visualizations and for Elasticsearch queries
S O L U T I O N
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Leading enterprises trust Amazon Elasticsearch Service for
their search and analytics applications
Media &
Entertainment
Online
Services
Technology Other
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
You can analyze field values to get statistics
and build visualizations
58,
12,
1,
100,
115
123,
214,
947
Result
GET
GET
POST
GET
PUT
GET
GET
POST
Field
Data
Buckets
GET
POST
PUT
5
2
1
Counts
Key Idea
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
ElasticSearch Service with Kibana
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Get the right set up
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data is stored in indexes, distributed across shards
Amazon Elasticsearch Service domain
ID
Field: value
Field: value
Field: value
Field: value
Index
Shards
Instances
• Shards are primary or
replica
• Primary shard count
can’t be changed
• Elasticsearch distributes
shards to instances
elastically
• Primary and replica are
distributed to different
instances
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How many instances?
• Index size is approximately source size
• Double this if you are deploying an index replica
• Instance count based on storage
requirements
• Either local storage or up to 1.5 TB of Amazon
Elastic Block Store (EBS) per instance
Example: a 2 TB corpus will need 4 instances
Assuming a replica and using EBS
Given 1.5 TB of storage per instance, this gives 6TB of storage
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Instance type recommendations
Instance Workload
T2 Entry point. Dev and test. OK for dedicated masters.
M3, M4 Equal read and write volumes.
R3, R4 Read-heavy or workloads with high memory
demands (e.g., aggregations).
C4 High concurrency/indexing workloads
I2,I3 Up to 1.6 TB of SSD instance storage.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
It is elastic
• Run out of storage space?
• add data nodes or
• increase EBS volume size.
• Need more compute or RAM?
• increase the instance type, or
• add more data nodes.
Amazon Elasticsearch Service is designed to apply those configuration
changes without incurring downtime.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Full text search
CASE STUDY: MirrorWeb
Make the UK Government and UK Parliament’s web archives searchable
Large scale ingestion scenario: 120 TB of data (1.2 MM 100MB files),
duplicates and bad data, Warc format
P R O B L E M
Scalability: Started on a 9-node, R4.4Xlarge cluster for fast ingest, reduced to 6 R4.Xlarge instances for search.
Able to reconfigure the cluster with no down time
Cost effective: Indexed 1.4 billion documents for $337
Fast: 146 MM docs per hour indexed. 14x faster than the previous best for this data set (using Hadoop)
B E N E F I T S
S O L U T I O N
Amazon
S3
(Storage)
Amazon
EC2
(Filtering)
Amazon
EC2
(Extraction)
Amazon ES
(Search)
For more on this case, see http://tinyurl.com/ybqwbolq
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
To scale correctly, iterate!
• Set config
• Instance type, storage
• Monitor via CloudWatch and
ES APIs
• CloudWatch for CPU, JVM,
and Disk
• ES for indexing, merges,
latencies
• Slow Logs for bottlenecks
• Adjust for workload
Configure
Cluster
Run your
workload
Gather
metrics
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Use ES to analyze ES performance
https://aws.amazon.com/blogs/database/analyzing-amazon-elasticsearch-service-slow-logs-using-amazon-
cloudwatch-logs-streaming-and-kibana/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Data pattern for time series data (or logs)
Amazon ES cluster
logs_01.21.2017
logs_01.22.2017
logs_01.23.2017
logs_01.24.2017
logs_01.25.2017
logs_01.26.2017
logs_01.27.2017
Shard 1
Shard 2
Shard 3
host
ident
auth
timestamp
etc.
Each index has
multiple shards
Each shard contains
a set of documents
Each document contains
a set of fields and values
One index per day
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Kinesis Firehose
CloudWatch Logs
Logstash
Amazon Lambda
Transform
Kinesis Firehose/
Streams
CloudWatch Logs
Amazon Elasticache/Redis
Kafka Rabbit MQLogstash
Amazon S3
Buffer
Kinesis Firehose/
Streams
Logstash
Worker nodes
Deliver
Kinesis Agent
CloudWatch Logs Agent
Beats
Fluentd
Application
Logstash
Collect
CloudWatch Logs
Amazon Lambda
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Small-ish hosted use cases
Public Subnet
Internet Gateway
ALB
Private
Subnet
Filebeat
Redis ENI
Kibana
Amazon ES ENI Amazon ES Domain
Redis Cluster
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Large or serverless use cases
• Data flows from instances and
applications via Lambda
• SigV4 signing via Lambda/roles
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
XL hosted use cases
• Ingest supported through high-
volume technologies like Spark or
Kinesis
• Up to 60 TB of data today
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo. S3 to Lambda to Amazon
Elasticsearch for serverless ingestion
https://github.com/dbnegative/lambda-cloudfront-log-ingester
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Streaming with Amazon Kinesis
Easily collect, process, and analyze video and data streams in real time
Capture, process,
and store video
streams
Load data streams
into AWS data
stores
Analyze data
streams in real time
Capture, process,
and store data
streams
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Log processing at Netflix using Kinesis Data Streams
Netflix’s Amazon Kinesis Streams-based solution has proven to be highly scalable, each day
processing billions of traffic flows. Typically, about 1,000 Amazon Kinesis shards work in
parallel to process the data stream. “Amazon Kinesis Streams processes multiple terabytes of
log data each day, yet events show up in our analytics in seconds. We can discover and
respond to issues in real time, ensuring high availability and a great customer experience.”
“Our solution built on Amazon Kinesis enables us to identify ways to increase efficiency,
reduce costs, and improve resiliency for the best customer experience,”
John Bennett. Senior Software Engineer, Netflix
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Unified logging
Log data in different
formats
Cross-service tracing almost
impossible
Forensics, monitoring, and
analytics on log data hard
SLO/SLI metrics from log data
impossible
Unified logging via
standardized log data
model
Annotate log records with
distributed tracing states
Based on open tracing
specification:
http://opentracing.io
SDK supporting multiple
languages
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sample UL log record
{
"ul-ctx-caller-span-id": "d62f04051cc5f312",
"ul-ctx-head-span-id": "1-5af39328-7cf81c9c9f3ac30af7693a65",
"ul-operation": "Operation_name",
"ul-span-duration": 160,
"ul-span-id": "d62f04051cc5f312",
"ul-span-start": 1525912360890,
"ul-tag-status": "INFO",
"ul-tag-ul-version": "2.1.0",
"ul-timestamp-epoch": 1525912361050
"ul-log-data": {
"cur_service_id": “xxxxxxxxxxxxxxxxxxx",
"cur_service_name": "xxxxxxx",
"method_name": "xxxx",
"module_name": "xxxxx",
"provider_name": "oxygen",
"scope": "C",
"sdk_version": "java_unified-logging-2.1.0",
"server_id": "xxxxxxx",
"significance": "INFO",
"src_service_id": "xxxxxx",
}
}
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
A unified log
Architecture
SQL
Processor
S P
O G
https://www.youtube.com/watch?v=jhYIxM2KiLs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Logs dashboard with Kibana
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Performance and observability with x-ray
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Metrics SPOG with Grafana
http://gunshowcomic.com/648
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you
Javier Ramirez
@supercoco9

More Related Content

What's hot

Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...Amazon Web Services
 
Build-Train-Deploy-Machine-Learning-Models-at-Any-Scale
Build-Train-Deploy-Machine-Learning-Models-at-Any-ScaleBuild-Train-Deploy-Machine-Learning-Models-at-Any-Scale
Build-Train-Deploy-Machine-Learning-Models-at-Any-ScaleAmazon Web Services
 
Hybrid Cloud Processing & Data Distribution with File Gateway & Amazon S3 (ST...
Hybrid Cloud Processing & Data Distribution with File Gateway & Amazon S3 (ST...Hybrid Cloud Processing & Data Distribution with File Gateway & Amazon S3 (ST...
Hybrid Cloud Processing & Data Distribution with File Gateway & Amazon S3 (ST...Amazon Web Services
 
Securing Data in Serverless Applications and Messaging Services (API317-R2) -...
Securing Data in Serverless Applications and Messaging Services (API317-R2) -...Securing Data in Serverless Applications and Messaging Services (API317-R2) -...
Securing Data in Serverless Applications and Messaging Services (API317-R2) -...Amazon Web Services
 
Scalable, Automated Anomaly Detection with GuardDuty, CloudTrail, & Amazon Sa...
Scalable, Automated Anomaly Detection with GuardDuty, CloudTrail, & Amazon Sa...Scalable, Automated Anomaly Detection with GuardDuty, CloudTrail, & Amazon Sa...
Scalable, Automated Anomaly Detection with GuardDuty, CloudTrail, & Amazon Sa...Amazon Web Services
 
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_Complexity
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_ComplexityAccelerating_Enterprise_Cloud_Transformation_By_Master_IT_Complexity
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_ComplexityAmazon Web Services
 
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)Amazon Web Services Korea
 
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018Amazon Web Services
 
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018Amazon Web Services
 
Amazon GuardDuty: Intelligent Threat Detection and Continuous Monitoring to P...
Amazon GuardDuty: Intelligent Threat Detection and Continuous Monitoring to P...Amazon GuardDuty: Intelligent Threat Detection and Continuous Monitoring to P...
Amazon GuardDuty: Intelligent Threat Detection and Continuous Monitoring to P...Amazon Web Services
 
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...Amazon Web Services
 
Security in Amazon Elasticsearch Service (ANT392) - AWS re:Invent 2018
Security in Amazon Elasticsearch Service (ANT392) - AWS re:Invent 2018Security in Amazon Elasticsearch Service (ANT392) - AWS re:Invent 2018
Security in Amazon Elasticsearch Service (ANT392) - AWS re:Invent 2018Amazon Web Services
 
Getting started with streaming analytics: Setting up a pipeline
Getting started with streaming analytics: Setting up a pipelineGetting started with streaming analytics: Setting up a pipeline
Getting started with streaming analytics: Setting up a pipelinejavier ramirez
 
Getting started with streaming analytics: streaming basics (1 of 3)
Getting started with streaming analytics: streaming basics (1 of 3)Getting started with streaming analytics: streaming basics (1 of 3)
Getting started with streaming analytics: streaming basics (1 of 3)javier ramirez
 
What's New with Amazon Redshift - ADB202 - Anaheim AWS Summit
What's New with Amazon Redshift - ADB202 - Anaheim AWS SummitWhat's New with Amazon Redshift - ADB202 - Anaheim AWS Summit
What's New with Amazon Redshift - ADB202 - Anaheim AWS SummitAmazon Web Services
 
Accelerating-ML-Adoption-with-Our-New-AI-Services
Accelerating-ML-Adoption-with-Our-New-AI-ServicesAccelerating-ML-Adoption-with-Our-New-AI-Services
Accelerating-ML-Adoption-with-Our-New-AI-ServicesAmazon Web Services
 
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...Amazon Web Services
 
Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...
Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...
Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...Amazon Web Services Korea
 
Best-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSBest-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSAmazon Web Services
 

What's hot (20)

Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
Use Monitoring, Logs, and Analytics Tools to Measure CDN and Site Performance...
 
Build-Train-Deploy-Machine-Learning-Models-at-Any-Scale
Build-Train-Deploy-Machine-Learning-Models-at-Any-ScaleBuild-Train-Deploy-Machine-Learning-Models-at-Any-Scale
Build-Train-Deploy-Machine-Learning-Models-at-Any-Scale
 
Hybrid Cloud Processing & Data Distribution with File Gateway & Amazon S3 (ST...
Hybrid Cloud Processing & Data Distribution with File Gateway & Amazon S3 (ST...Hybrid Cloud Processing & Data Distribution with File Gateway & Amazon S3 (ST...
Hybrid Cloud Processing & Data Distribution with File Gateway & Amazon S3 (ST...
 
Securing Data in Serverless Applications and Messaging Services (API317-R2) -...
Securing Data in Serverless Applications and Messaging Services (API317-R2) -...Securing Data in Serverless Applications and Messaging Services (API317-R2) -...
Securing Data in Serverless Applications and Messaging Services (API317-R2) -...
 
Scalable, Automated Anomaly Detection with GuardDuty, CloudTrail, & Amazon Sa...
Scalable, Automated Anomaly Detection with GuardDuty, CloudTrail, & Amazon Sa...Scalable, Automated Anomaly Detection with GuardDuty, CloudTrail, & Amazon Sa...
Scalable, Automated Anomaly Detection with GuardDuty, CloudTrail, & Amazon Sa...
 
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_Complexity
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_ComplexityAccelerating_Enterprise_Cloud_Transformation_By_Master_IT_Complexity
Accelerating_Enterprise_Cloud_Transformation_By_Master_IT_Complexity
 
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)
AWS CodeStar 및 Cloud9을 통한 서버리스(Serverless) 앱 개발 길잡이 - 윤석찬 (AWS 테크에반젤리스트)
 
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
What's New in AR & VR: State of the World Report (ARV203) - AWS re:Invent 2018
 
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
Optimizing Costs as You Scale on AWS (ENT302) - AWS re:Invent 2018
 
Serverless_with_MongoDB
Serverless_with_MongoDBServerless_with_MongoDB
Serverless_with_MongoDB
 
Amazon GuardDuty: Intelligent Threat Detection and Continuous Monitoring to P...
Amazon GuardDuty: Intelligent Threat Detection and Continuous Monitoring to P...Amazon GuardDuty: Intelligent Threat Detection and Continuous Monitoring to P...
Amazon GuardDuty: Intelligent Threat Detection and Continuous Monitoring to P...
 
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...
Leadership Session: Learn about 10 Years' of Windows and .NET Innovation on A...
 
Security in Amazon Elasticsearch Service (ANT392) - AWS re:Invent 2018
Security in Amazon Elasticsearch Service (ANT392) - AWS re:Invent 2018Security in Amazon Elasticsearch Service (ANT392) - AWS re:Invent 2018
Security in Amazon Elasticsearch Service (ANT392) - AWS re:Invent 2018
 
Getting started with streaming analytics: Setting up a pipeline
Getting started with streaming analytics: Setting up a pipelineGetting started with streaming analytics: Setting up a pipeline
Getting started with streaming analytics: Setting up a pipeline
 
Getting started with streaming analytics: streaming basics (1 of 3)
Getting started with streaming analytics: streaming basics (1 of 3)Getting started with streaming analytics: streaming basics (1 of 3)
Getting started with streaming analytics: streaming basics (1 of 3)
 
What's New with Amazon Redshift - ADB202 - Anaheim AWS Summit
What's New with Amazon Redshift - ADB202 - Anaheim AWS SummitWhat's New with Amazon Redshift - ADB202 - Anaheim AWS Summit
What's New with Amazon Redshift - ADB202 - Anaheim AWS Summit
 
Accelerating-ML-Adoption-with-Our-New-AI-Services
Accelerating-ML-Adoption-with-Our-New-AI-ServicesAccelerating-ML-Adoption-with-Our-New-AI-Services
Accelerating-ML-Adoption-with-Our-New-AI-Services
 
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...
Unleash the Power of Temporary AWS Credentials (a.k.a. IAM roles) (SEC390-R1)...
 
Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...
Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...
Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...
 
Best-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWSBest-Practices-for-Running-Windows-Workloads-on-AWS
Best-Practices-for-Running-Windows-Workloads-on-AWS
 

Similar to Analyzing your web and application logs on AWS. Utrecht AWS Dev Day

Performing serverless analytics in AWS Glue - ADB202 - Chicago AWS Summit
Performing serverless analytics in AWS Glue - ADB202 - Chicago AWS SummitPerforming serverless analytics in AWS Glue - ADB202 - Chicago AWS Summit
Performing serverless analytics in AWS Glue - ADB202 - Chicago AWS SummitAmazon Web Services
 
Lock it Down: How to Secure your AWS Account and your Organization's Accounts
Lock it Down: How to Secure your AWS Account and your Organization's AccountsLock it Down: How to Secure your AWS Account and your Organization's Accounts
Lock it Down: How to Secure your AWS Account and your Organization's AccountsAmazon Web Services
 
Aws Tools for Alexa Skills
Aws Tools for Alexa SkillsAws Tools for Alexa Skills
Aws Tools for Alexa SkillsBoaz Ziniman
 
How to build scalable and resilient applications in the cloud - AWS Summit Ca...
How to build scalable and resilient applications in the cloud - AWS Summit Ca...How to build scalable and resilient applications in the cloud - AWS Summit Ca...
How to build scalable and resilient applications in the cloud - AWS Summit Ca...Amazon Web Services
 
Lock It Down: How to Secure Your Organization's AWS Account
Lock It Down: How to Secure Your Organization's AWS AccountLock It Down: How to Secure Your Organization's AWS Account
Lock It Down: How to Secure Your Organization's AWS AccountAmazon Web Services
 
The New Normal Getting Started with AWS
The New Normal Getting Started with AWSThe New Normal Getting Started with AWS
The New Normal Getting Started with AWSTom Laszewski
 
Meeting Enterprise Security Requirements with AWS Native Security Services (S...
Meeting Enterprise Security Requirements with AWS Native Security Services (S...Meeting Enterprise Security Requirements with AWS Native Security Services (S...
Meeting Enterprise Security Requirements with AWS Native Security Services (S...Amazon Web Services
 
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...Amazon Web Services
 
運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)
運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)
運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)Amazon Web Services
 
Aws lambda webinar -buraku
Aws lambda webinar -burakuAws lambda webinar -buraku
Aws lambda webinar -burakuburakunuvar
 
AI/ML Week: Strengthen Cybersecurity
AI/ML Week: Strengthen CybersecurityAI/ML Week: Strengthen Cybersecurity
AI/ML Week: Strengthen CybersecurityAmazon Web Services
 
IoT at scale - Monitor and manage devices with AWS IoT Device Management - SV...
IoT at scale - Monitor and manage devices with AWS IoT Device Management - SV...IoT at scale - Monitor and manage devices with AWS IoT Device Management - SV...
IoT at scale - Monitor and manage devices with AWS IoT Device Management - SV...Amazon Web Services
 
Taking your Progressive Web App to the Next Level with GraphQL and AWS AppSync
Taking your Progressive Web App to the Next Level with GraphQL and AWS AppSyncTaking your Progressive Web App to the Next Level with GraphQL and AWS AppSync
Taking your Progressive Web App to the Next Level with GraphQL and AWS AppSyncAmazon Web Services
 
善用 GraphQL 與 AWS AppSync 讓您的 Progressive Web App (PWA) 加速進化 (Level 200)
善用  GraphQL 與 AWS AppSync 讓您的  Progressive Web App (PWA) 加速進化 (Level 200)善用  GraphQL 與 AWS AppSync 讓您的  Progressive Web App (PWA) 加速進化 (Level 200)
善用 GraphQL 與 AWS AppSync 讓您的 Progressive Web App (PWA) 加速進化 (Level 200)Amazon Web Services
 
Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...
Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...
Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...Amazon Web Services
 
Beyond Security Automation: How to Move Past Developing Ad-hoc Tools and Make...
Beyond Security Automation: How to Move Past Developing Ad-hoc Tools and Make...Beyond Security Automation: How to Move Past Developing Ad-hoc Tools and Make...
Beyond Security Automation: How to Move Past Developing Ad-hoc Tools and Make...Amazon Web Services
 
Serverless Architectural Patterns - GOTO Amsterdam
Serverless Architectural Patterns - GOTO AmsterdamServerless Architectural Patterns - GOTO Amsterdam
Serverless Architectural Patterns - GOTO AmsterdamBoaz Ziniman
 
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...Amazon Web Services
 
IoT Compute at the Edge with AWS Greengrass - GOTO Amsterdam
IoT Compute at the Edge with AWS Greengrass - GOTO AmsterdamIoT Compute at the Edge with AWS Greengrass - GOTO Amsterdam
IoT Compute at the Edge with AWS Greengrass - GOTO AmsterdamBoaz Ziniman
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteArun Gupta
 

Similar to Analyzing your web and application logs on AWS. Utrecht AWS Dev Day (20)

Performing serverless analytics in AWS Glue - ADB202 - Chicago AWS Summit
Performing serverless analytics in AWS Glue - ADB202 - Chicago AWS SummitPerforming serverless analytics in AWS Glue - ADB202 - Chicago AWS Summit
Performing serverless analytics in AWS Glue - ADB202 - Chicago AWS Summit
 
Lock it Down: How to Secure your AWS Account and your Organization's Accounts
Lock it Down: How to Secure your AWS Account and your Organization's AccountsLock it Down: How to Secure your AWS Account and your Organization's Accounts
Lock it Down: How to Secure your AWS Account and your Organization's Accounts
 
Aws Tools for Alexa Skills
Aws Tools for Alexa SkillsAws Tools for Alexa Skills
Aws Tools for Alexa Skills
 
How to build scalable and resilient applications in the cloud - AWS Summit Ca...
How to build scalable and resilient applications in the cloud - AWS Summit Ca...How to build scalable and resilient applications in the cloud - AWS Summit Ca...
How to build scalable and resilient applications in the cloud - AWS Summit Ca...
 
Lock It Down: How to Secure Your Organization's AWS Account
Lock It Down: How to Secure Your Organization's AWS AccountLock It Down: How to Secure Your Organization's AWS Account
Lock It Down: How to Secure Your Organization's AWS Account
 
The New Normal Getting Started with AWS
The New Normal Getting Started with AWSThe New Normal Getting Started with AWS
The New Normal Getting Started with AWS
 
Meeting Enterprise Security Requirements with AWS Native Security Services (S...
Meeting Enterprise Security Requirements with AWS Native Security Services (S...Meeting Enterprise Security Requirements with AWS Native Security Services (S...
Meeting Enterprise Security Requirements with AWS Native Security Services (S...
 
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...
Analyzing and processing streaming data with Amazon EMR - ADB204 - New York A...
 
運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)
運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)
運用 AWS Edge Services 作為遊戲行業的關鍵基礎設施元件 (Level 200)
 
Aws lambda webinar -buraku
Aws lambda webinar -burakuAws lambda webinar -buraku
Aws lambda webinar -buraku
 
AI/ML Week: Strengthen Cybersecurity
AI/ML Week: Strengthen CybersecurityAI/ML Week: Strengthen Cybersecurity
AI/ML Week: Strengthen Cybersecurity
 
IoT at scale - Monitor and manage devices with AWS IoT Device Management - SV...
IoT at scale - Monitor and manage devices with AWS IoT Device Management - SV...IoT at scale - Monitor and manage devices with AWS IoT Device Management - SV...
IoT at scale - Monitor and manage devices with AWS IoT Device Management - SV...
 
Taking your Progressive Web App to the Next Level with GraphQL and AWS AppSync
Taking your Progressive Web App to the Next Level with GraphQL and AWS AppSyncTaking your Progressive Web App to the Next Level with GraphQL and AWS AppSync
Taking your Progressive Web App to the Next Level with GraphQL and AWS AppSync
 
善用 GraphQL 與 AWS AppSync 讓您的 Progressive Web App (PWA) 加速進化 (Level 200)
善用  GraphQL 與 AWS AppSync 讓您的  Progressive Web App (PWA) 加速進化 (Level 200)善用  GraphQL 與 AWS AppSync 讓您的  Progressive Web App (PWA) 加速進化 (Level 200)
善用 GraphQL 與 AWS AppSync 讓您的 Progressive Web App (PWA) 加速進化 (Level 200)
 
Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...
Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...
Built & Delivered in Six Months Using Serverless Technical Patterns and Micro...
 
Beyond Security Automation: How to Move Past Developing Ad-hoc Tools and Make...
Beyond Security Automation: How to Move Past Developing Ad-hoc Tools and Make...Beyond Security Automation: How to Move Past Developing Ad-hoc Tools and Make...
Beyond Security Automation: How to Move Past Developing Ad-hoc Tools and Make...
 
Serverless Architectural Patterns - GOTO Amsterdam
Serverless Architectural Patterns - GOTO AmsterdamServerless Architectural Patterns - GOTO Amsterdam
Serverless Architectural Patterns - GOTO Amsterdam
 
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...
Inside AWS: Technology Choices for Modern Applications (SRV305-R1) - AWS re:I...
 
IoT Compute at the Edge with AWS Greengrass - GOTO Amsterdam
IoT Compute at the Edge with AWS Greengrass - GOTO AmsterdamIoT Compute at the Edge with AWS Greengrass - GOTO Amsterdam
IoT Compute at the Edge with AWS Greengrass - GOTO Amsterdam
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
 

More from javier ramirez

¿Se puede vivir del open source? T3chfest
¿Se puede vivir del open source? T3chfest¿Se puede vivir del open source? T3chfest
¿Se puede vivir del open source? T3chfestjavier ramirez
 
QuestDB: The building blocks of a fast open-source time-series database
QuestDB: The building blocks of a fast open-source time-series databaseQuestDB: The building blocks of a fast open-source time-series database
QuestDB: The building blocks of a fast open-source time-series databasejavier ramirez
 
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...javier ramirez
 
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...javier ramirez
 
Deduplicating and analysing time-series data with Apache Beam and QuestDB
Deduplicating and analysing time-series data with Apache Beam and QuestDBDeduplicating and analysing time-series data with Apache Beam and QuestDB
Deduplicating and analysing time-series data with Apache Beam and QuestDBjavier ramirez
 
Your Database Cannot Do this (well)
Your Database Cannot Do this (well)Your Database Cannot Do this (well)
Your Database Cannot Do this (well)javier ramirez
 
Your Timestamps Deserve Better than a Generic Database
Your Timestamps Deserve Better than a Generic DatabaseYour Timestamps Deserve Better than a Generic Database
Your Timestamps Deserve Better than a Generic Databasejavier ramirez
 
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...javier ramirez
 
QuestDB-Community-Call-20220728
QuestDB-Community-Call-20220728QuestDB-Community-Call-20220728
QuestDB-Community-Call-20220728javier ramirez
 
Processing and analysing streaming data with Python. Pycon Italy 2022
Processing and analysing streaming  data with Python. Pycon Italy 2022Processing and analysing streaming  data with Python. Pycon Italy 2022
Processing and analysing streaming data with Python. Pycon Italy 2022javier ramirez
 
QuestDB: ingesting a million time series per second on a single instance. Big...
QuestDB: ingesting a million time series per second on a single instance. Big...QuestDB: ingesting a million time series per second on a single instance. Big...
QuestDB: ingesting a million time series per second on a single instance. Big...javier ramirez
 
Servicios e infraestructura de AWS y la próxima región en Aragón
Servicios e infraestructura de AWS y la próxima región en AragónServicios e infraestructura de AWS y la próxima región en Aragón
Servicios e infraestructura de AWS y la próxima región en Aragónjavier ramirez
 
Primeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverlessPrimeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverlessjavier ramirez
 
How AWS is reinventing the cloud
How AWS is reinventing the cloudHow AWS is reinventing the cloud
How AWS is reinventing the cloudjavier ramirez
 
Analitica de datos en tiempo real con Apache Flink y Apache BEAM
Analitica de datos en tiempo real con Apache Flink y Apache BEAMAnalitica de datos en tiempo real con Apache Flink y Apache BEAM
Analitica de datos en tiempo real con Apache Flink y Apache BEAMjavier ramirez
 
Getting started with streaming analytics
Getting started with streaming analyticsGetting started with streaming analytics
Getting started with streaming analyticsjavier ramirez
 
Getting started with streaming analytics: Deep Dive
Getting started with streaming analytics: Deep DiveGetting started with streaming analytics: Deep Dive
Getting started with streaming analytics: Deep Divejavier ramirez
 
Monitorización de seguridad y detección de amenazas con AWS
Monitorización de seguridad y detección de amenazas con AWSMonitorización de seguridad y detección de amenazas con AWS
Monitorización de seguridad y detección de amenazas con AWSjavier ramirez
 
Consulta cualquier fuente de datos usando SQL con Amazon Athena y sus consult...
Consulta cualquier fuente de datos usando SQL con Amazon Athena y sus consult...Consulta cualquier fuente de datos usando SQL con Amazon Athena y sus consult...
Consulta cualquier fuente de datos usando SQL con Amazon Athena y sus consult...javier ramirez
 
Recomendaciones, predicciones y detección de fraude usando servicios de intel...
Recomendaciones, predicciones y detección de fraude usando servicios de intel...Recomendaciones, predicciones y detección de fraude usando servicios de intel...
Recomendaciones, predicciones y detección de fraude usando servicios de intel...javier ramirez
 

More from javier ramirez (20)

¿Se puede vivir del open source? T3chfest
¿Se puede vivir del open source? T3chfest¿Se puede vivir del open source? T3chfest
¿Se puede vivir del open source? T3chfest
 
QuestDB: The building blocks of a fast open-source time-series database
QuestDB: The building blocks of a fast open-source time-series databaseQuestDB: The building blocks of a fast open-source time-series database
QuestDB: The building blocks of a fast open-source time-series database
 
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
 
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...
 
Deduplicating and analysing time-series data with Apache Beam and QuestDB
Deduplicating and analysing time-series data with Apache Beam and QuestDBDeduplicating and analysing time-series data with Apache Beam and QuestDB
Deduplicating and analysing time-series data with Apache Beam and QuestDB
 
Your Database Cannot Do this (well)
Your Database Cannot Do this (well)Your Database Cannot Do this (well)
Your Database Cannot Do this (well)
 
Your Timestamps Deserve Better than a Generic Database
Your Timestamps Deserve Better than a Generic DatabaseYour Timestamps Deserve Better than a Generic Database
Your Timestamps Deserve Better than a Generic Database
 
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...
 
QuestDB-Community-Call-20220728
QuestDB-Community-Call-20220728QuestDB-Community-Call-20220728
QuestDB-Community-Call-20220728
 
Processing and analysing streaming data with Python. Pycon Italy 2022
Processing and analysing streaming  data with Python. Pycon Italy 2022Processing and analysing streaming  data with Python. Pycon Italy 2022
Processing and analysing streaming data with Python. Pycon Italy 2022
 
QuestDB: ingesting a million time series per second on a single instance. Big...
QuestDB: ingesting a million time series per second on a single instance. Big...QuestDB: ingesting a million time series per second on a single instance. Big...
QuestDB: ingesting a million time series per second on a single instance. Big...
 
Servicios e infraestructura de AWS y la próxima región en Aragón
Servicios e infraestructura de AWS y la próxima región en AragónServicios e infraestructura de AWS y la próxima región en Aragón
Servicios e infraestructura de AWS y la próxima región en Aragón
 
Primeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverlessPrimeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverless
 
How AWS is reinventing the cloud
How AWS is reinventing the cloudHow AWS is reinventing the cloud
How AWS is reinventing the cloud
 
Analitica de datos en tiempo real con Apache Flink y Apache BEAM
Analitica de datos en tiempo real con Apache Flink y Apache BEAMAnalitica de datos en tiempo real con Apache Flink y Apache BEAM
Analitica de datos en tiempo real con Apache Flink y Apache BEAM
 
Getting started with streaming analytics
Getting started with streaming analyticsGetting started with streaming analytics
Getting started with streaming analytics
 
Getting started with streaming analytics: Deep Dive
Getting started with streaming analytics: Deep DiveGetting started with streaming analytics: Deep Dive
Getting started with streaming analytics: Deep Dive
 
Monitorización de seguridad y detección de amenazas con AWS
Monitorización de seguridad y detección de amenazas con AWSMonitorización de seguridad y detección de amenazas con AWS
Monitorización de seguridad y detección de amenazas con AWS
 
Consulta cualquier fuente de datos usando SQL con Amazon Athena y sus consult...
Consulta cualquier fuente de datos usando SQL con Amazon Athena y sus consult...Consulta cualquier fuente de datos usando SQL con Amazon Athena y sus consult...
Consulta cualquier fuente de datos usando SQL con Amazon Athena y sus consult...
 
Recomendaciones, predicciones y detección de fraude usando servicios de intel...
Recomendaciones, predicciones y detección de fraude usando servicios de intel...Recomendaciones, predicciones y detección de fraude usando servicios de intel...
Recomendaciones, predicciones y detección de fraude usando servicios de intel...
 

Recently uploaded

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 

Recently uploaded (20)

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 

Analyzing your web and application logs on AWS. Utrecht AWS Dev Day

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. 2019.06.18 U T R E C H T
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Analyzing your web and application logs Athena, Cloud Watch Logs, Lambda, Kinesis Firehose, and the Elasticsearch Service Javier Ramirez AWS Tech Evangelist @supercoco9 B A R 2 U T R E C H T 2019.06.18
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. A day in the life of an engineer
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. My journey from beginner to professional developer Solution I run all my programs interactively Late 80s The Amstrad and Spectrum years Print before every command, see where it breaks I run some programs in the background Early 90s The Amiga and PC years Open a file for writing and print to that file I need to have different levels of debugging. Late 90s The Solaris years Fill the code with IFs, to conditionally print to the file 50% of my code is If(debug) Early 00s The Linux years Give Log4j a try My hard drive is full Mid 00s The NFS years Hello logrotate I have no Idea in which servers my logs are Early 2010s The Cloud years Ship to S3 My logs are full of insights Mid 2010s The Logstash years Normalise, Enrich, index, and analyse
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Two types of log analytics • Batch analytics • Operational (~real-time) analytics
  • 7. Amazon Global Network • Redundant 100GbE network • Redundant private capacity between all Regions except China 180 Global CloudFront PoPs (11 regional edge caches) a e o q i h Paris Sweden AWS GovCloud East First 5 years: 4 regions 2016–2020: 14 regions Next 5 years: 7 regions A W S REGIONS 2 1 R e g i o n s 6 6 A Z s d m c g b n s k v i i i i i i i i Milan i Cape Town
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Measure Amazon CloudFront performance • Third-party tools • Cedexis • WebPageTest
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Measure Amazon CloudFront performance • CloudFront Access Logs • Delivered to an Amazon Simple Storage Service (Amazon S3) bucket • Includes timeToDownload, cache HIT/MISS, errors, and more #Version: 1.0 #Fields: date time x-edge-location sc-bytes c-ip cs-method cs(Host) cs-uri-stem sc-status cs(Referer) cs(User-Agent) cs-uri-query cs(Cookie) x-edge-result-type x-edge-request-id x-host-header cs-protocol cs-bytes time-taken x-forwarded-for ssl-protocol ssl- cipher x-edge-response-result-type cs-protocol-version fle-status fle-encrypted-fields 2018-04-07 14:50:37 JFK5 562 207.46.13.70 GET d3vxovn305eucd.cloudfront.net /robots.txt 301 - Mozilla/5.0%2520(compatible;%2520bingbot/2.0;%2520+http://www.bing.com/bingbot.htm) - - Redirect 9N2U5NMte4dco5qPUGnZM6rRxKsfLtRWbpTZzWHKFsTGxw_Zh2bzfA== dkaran.com http 243 0.000 - - - Redirect HTTP/1.1 - - 2018-04-07 14:50:37 SEA32 2039 207.46.13.70 GET d3vxovn305eucd.cloudfront.net /robots.txt 404 - Mozilla/5.0%2520(compatible;%2520bingbot/2.0;%2520+http://www.bing.com/bingbot.htm) - - Error _3CX08QRWugzYNiW0lhiK42DvAfA6BFavZc_Rs4NSpWfvZbB8BrQRQ== dkaran.com 2018-04-07 14:50:57 SEA32 7104 40.77.178.206 GET d3vxovn305eucd.cloudfront.net /style.css 200 https://dkaran.com/ Mozilla/5.0%2520(iPhone;%2520CPU%2520iPhone%2520OS%25207_0%2520like%2520Mac%2520OS%2520X)%2520AppleWebKit/537.51.1%25 20(KHTML,%2520like%2520Gecko)%2520Version/7.0%2520Mobile/11A465%2520Safari/9537.53%2520BingPreview/1.0b- - Miss 8RDvgIp8Horvy8Lk8vlE_xZk67lmCpdM83z-aXmKi19Gl14scChbow== dkaran.com https 301 0.070 - TLSv1.2 ECDHE-RSA-AES128-GCM-SHA256 Miss HTTP/1.1 - -
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Query Amazon CloudFront logs with Amazon Athena • Enable access logs on your CloudFront distribution • Logs are delivered to the Amazon S3 bucket of your choice CloudFront log files
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Athena queries for CloudFront logs CREATE EXTERNAL TABLE IF NOT EXISTS default.cloudfront_logs ( `date` DATE, time STRING, location STRING, bytes BIGINT, requestip STRING, method STRING, host STRING, uri STRING, status INT, referrer STRING, useragent STRING, querystring STRING, cookie STRING, resulttype STRING, requestid STRING, hostheader STRING, requestprotocol STRING, requestbytes BIGINT, timetaken FLOAT, xforwardedfor STRING, sslprotocol STRING, sslcipher STRING, responseresulttype STRING, httpversion STRING, filestatus STRING, encryptedfields INT ) ROW FORMAT DELIMITED FIELDS TERMINATED BY 't' LOCATION ‘s3://javier-cloud-logs.s3.amazonaws.com/cdn/’ TBLPROPERTIES ( 'skip.header.line.count'='2' )
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Athena queries for CloudFront logs SELECT date, time, location, requestip, uri, resulttype, requestprotocol, requestbytes, timetaken FROM "default"."cloudfront_logs" WHERE uri LIKE '%jpg%' ORDER BY timetaken DESC limit 50; Requests for JPG images sorted by download time, highest to lowest
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Visualize CDN performance with Amazon QuickSight • Pull data from Athena table created for CloudFront logs analysis • Auto-detects data types to fit into graphs CloudFront log files
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Visualize CDN performance with Amazon QuickSight • Select visual type • Line graphs for trends over time • Bar charts to compare between locations • Build a story • Snapshot in time to present to executives • Share and export visuals as needed
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. https://docs.aws.amazon.com/athena/latest/ug/cloudfront-logs.html
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Operational analytics
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. The explosion of machine-generated data Transition from IT to DevOps Increase in IoT and Mobile Devices Cloud-based architectures Machine-generated data is growing 10x faster than business data Source: insideBigData - The Exponential Growth of Data, February 16, 2017
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Operational analytics requirements/challenges
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Challenges faced by customers – Log Analytics
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Is there a better solution? CloudWatch Logs Log Management Store and monitor your logs Log Analytics Get answers from your logs
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon CloudWatch Amazon CloudWatch is a monitoring service for AWS cloud resources, applications you run on AWS and onPrem. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.22 Monitor EC2Spot Trends Monitor Other Resources Set Alarms - Events Monitor Custom Metrics Store & Analyze Logs Create Dashboards Take automated action Insights Logs Centralize monitoring Operational Status Troubleshoot
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Complete Visibility of Your Cloud Resources and Applications © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.23 “Amazon CloudWatch monitors more than 800 trillion metric observations, triggers more than 2 trillion events, and ingests more than 50 petabytes of logs per month (*as of March 2018).” Amazon CloudWatch
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Features & Benefits © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.24
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Observability requires metrics, logs, and traces CloudWatch Logs Log Management Store and Monitor your logs CloudWatch Logs CloudWatch Metrics AWS X-Ray Traces
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudWatch Logs CloudWatch Logs Log Management Store and Monitor your logs
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudWatch Logs CloudWatch Logs Comprehensive Ingress Amazon EC2 AWS Lambda Amazon VPC Amazon ECS Custom Logs AWS CloudTrail Flexible Egress Partner tools Amazon Kinesis Data Firehose Amazon S3 Amazon Elasticsearch Service AWS Lambda Integrates easily with AWS services and third-party solutions
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudWatch Logs Insights An interactive, fully integrated, and pay-as-you-go log analytics service for CloudWatch Introducing
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. CloudWatch Logs Insights CloudWatch
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Simple Query Examples Calculations Filters Counters Summarizations Percentiles Timeseries aggregation Sorting Subsets Full-text search Column extraction from unstructured logs using the parse command fields Operation, Bytes, Bytes/1024 as @KBs filter Latency > 1000 stats count(), distinct(Operation) by Region stats sum(Latency), avg(Latency), max(Latency) by Operation stats percentile(Latency, 99.9) by API stats count() by bin(5m) as @myBin sort @myBin desc limit 20 Hello AND World Task Example Query
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Advanced Query - Examples Filtering with calculated values filter Operation = “MyOperation” | fields @timestamp, Operation, Bytes/1000 as @KBs Filtering, aggregate calculation by certain field, with sort filter Operation != “SomeExcludedOperation” | stats percentile(Latency, 99.9) as @My3ninesLatency by Operation | sort @My3ninesLatency desc | limit 10 Get a timeseries of some aggregates for log events that match a certain regex filter Operation like /Kinesis/ | stats max(Latency) by bin(5m)
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. https://github.com/aws-samples/reinvent2018-dev303-code
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. The Amazon Elasticsearch Service
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Elasticsearch Service is a cost-effective managed service that makes it easy to deploy, manage, and scale open-source Elasticsearch and Kibana for log analytics, full-text search, and more.
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Easy to Use Deploy a production-ready Elasticsearch cluster in minutes Simplifies time-consuming management tasks such as software patching, failure recovery, backups, and monitoring Open Get direct access to the Elasticsearch open- source API Fully compatible with the open-source Elasticsearch API, for all code and applications Secure Secure Elasticsearch clusters with AWS Identity and Access Management (IAM) policies with fine-grained access control access for users and endpoints Automatically applies security patches without disruption, keeping Elasticsearch environments secure Available Provides high availability using Zone Awareness, which replicates data between two Availability Zones Monitors the health of clusters and automatically replaces failed nodes, without service disruption AWS Integrated Integrates with Amazon Kinesis Firehose, AWS IoT, and Amazon CloudWatch Logs for seamless data ingestion AWS CloudTrail for auditing, AWS Identity and Access Management (IAM) for security, and AWS CloudFormation for cloud orchestration Scalable Scale clusters from a single node up to 20 nodes Configure clusters to meet performance requirements by selecting from a range of instance types and storage options, including SSD-powered EBS volumes Amazon Elasticsearch Service Benefits
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Application Monitoring & Root-cause Analysis CASE STUDY: EXPEDIA Logs, lots and lots of logs. How to cost effectively monitor logs? Require centralized logging infrastructure Did not have the man power to manage infrastructure P R O B L E M Quick insights: Able to identify and troubleshoot issues in real-time Secure: Integrated w/ AWS IAM Scalable: Cluster sizes are able to grow to accommodate additional log sources B E N E F I T S Streaming AWS CloudTrail logs, application logs, and Docker startup logs to Elasticsearch Created centralized logging service for all team members Using Kibana for visualizations and for Elasticsearch queries S O L U T I O N
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Leading enterprises trust Amazon Elasticsearch Service for their search and analytics applications Media & Entertainment Online Services Technology Other
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. You can analyze field values to get statistics and build visualizations 58, 12, 1, 100, 115 123, 214, 947 Result GET GET POST GET PUT GET GET POST Field Data Buckets GET POST PUT 5 2 1 Counts Key Idea
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. ElasticSearch Service with Kibana
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Get the right set up
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Data is stored in indexes, distributed across shards Amazon Elasticsearch Service domain ID Field: value Field: value Field: value Field: value Index Shards Instances • Shards are primary or replica • Primary shard count can’t be changed • Elasticsearch distributes shards to instances elastically • Primary and replica are distributed to different instances
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. How many instances? • Index size is approximately source size • Double this if you are deploying an index replica • Instance count based on storage requirements • Either local storage or up to 1.5 TB of Amazon Elastic Block Store (EBS) per instance Example: a 2 TB corpus will need 4 instances Assuming a replica and using EBS Given 1.5 TB of storage per instance, this gives 6TB of storage
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Instance type recommendations Instance Workload T2 Entry point. Dev and test. OK for dedicated masters. M3, M4 Equal read and write volumes. R3, R4 Read-heavy or workloads with high memory demands (e.g., aggregations). C4 High concurrency/indexing workloads I2,I3 Up to 1.6 TB of SSD instance storage.
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. It is elastic • Run out of storage space? • add data nodes or • increase EBS volume size. • Need more compute or RAM? • increase the instance type, or • add more data nodes. Amazon Elasticsearch Service is designed to apply those configuration changes without incurring downtime.
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Full text search CASE STUDY: MirrorWeb Make the UK Government and UK Parliament’s web archives searchable Large scale ingestion scenario: 120 TB of data (1.2 MM 100MB files), duplicates and bad data, Warc format P R O B L E M Scalability: Started on a 9-node, R4.4Xlarge cluster for fast ingest, reduced to 6 R4.Xlarge instances for search. Able to reconfigure the cluster with no down time Cost effective: Indexed 1.4 billion documents for $337 Fast: 146 MM docs per hour indexed. 14x faster than the previous best for this data set (using Hadoop) B E N E F I T S S O L U T I O N Amazon S3 (Storage) Amazon EC2 (Filtering) Amazon EC2 (Extraction) Amazon ES (Search) For more on this case, see http://tinyurl.com/ybqwbolq
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. To scale correctly, iterate! • Set config • Instance type, storage • Monitor via CloudWatch and ES APIs • CloudWatch for CPU, JVM, and Disk • ES for indexing, merges, latencies • Slow Logs for bottlenecks • Adjust for workload Configure Cluster Run your workload Gather metrics
  • 47. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Use ES to analyze ES performance https://aws.amazon.com/blogs/database/analyzing-amazon-elasticsearch-service-slow-logs-using-amazon- cloudwatch-logs-streaming-and-kibana/
  • 48. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Data pattern for time series data (or logs) Amazon ES cluster logs_01.21.2017 logs_01.22.2017 logs_01.23.2017 logs_01.24.2017 logs_01.25.2017 logs_01.26.2017 logs_01.27.2017 Shard 1 Shard 2 Shard 3 host ident auth timestamp etc. Each index has multiple shards Each shard contains a set of documents Each document contains a set of fields and values One index per day
  • 49. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Kinesis Firehose CloudWatch Logs Logstash Amazon Lambda Transform Kinesis Firehose/ Streams CloudWatch Logs Amazon Elasticache/Redis Kafka Rabbit MQLogstash Amazon S3 Buffer Kinesis Firehose/ Streams Logstash Worker nodes Deliver Kinesis Agent CloudWatch Logs Agent Beats Fluentd Application Logstash Collect CloudWatch Logs Amazon Lambda
  • 50. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Small-ish hosted use cases Public Subnet Internet Gateway ALB Private Subnet Filebeat Redis ENI Kibana Amazon ES ENI Amazon ES Domain Redis Cluster
  • 51. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Large or serverless use cases • Data flows from instances and applications via Lambda • SigV4 signing via Lambda/roles
  • 52. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. XL hosted use cases • Ingest supported through high- volume technologies like Spark or Kinesis • Up to 60 TB of data today
  • 53. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo. S3 to Lambda to Amazon Elasticsearch for serverless ingestion https://github.com/dbnegative/lambda-cloudfront-log-ingester
  • 54. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Streaming with Amazon Kinesis Easily collect, process, and analyze video and data streams in real time Capture, process, and store video streams Load data streams into AWS data stores Analyze data streams in real time Capture, process, and store data streams
  • 55. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Log processing at Netflix using Kinesis Data Streams Netflix’s Amazon Kinesis Streams-based solution has proven to be highly scalable, each day processing billions of traffic flows. Typically, about 1,000 Amazon Kinesis shards work in parallel to process the data stream. “Amazon Kinesis Streams processes multiple terabytes of log data each day, yet events show up in our analytics in seconds. We can discover and respond to issues in real time, ensuring high availability and a great customer experience.” “Our solution built on Amazon Kinesis enables us to identify ways to increase efficiency, reduce costs, and improve resiliency for the best customer experience,” John Bennett. Senior Software Engineer, Netflix
  • 56. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 57. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Unified logging Log data in different formats Cross-service tracing almost impossible Forensics, monitoring, and analytics on log data hard SLO/SLI metrics from log data impossible Unified logging via standardized log data model Annotate log records with distributed tracing states Based on open tracing specification: http://opentracing.io SDK supporting multiple languages
  • 58. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Sample UL log record { "ul-ctx-caller-span-id": "d62f04051cc5f312", "ul-ctx-head-span-id": "1-5af39328-7cf81c9c9f3ac30af7693a65", "ul-operation": "Operation_name", "ul-span-duration": 160, "ul-span-id": "d62f04051cc5f312", "ul-span-start": 1525912360890, "ul-tag-status": "INFO", "ul-tag-ul-version": "2.1.0", "ul-timestamp-epoch": 1525912361050 "ul-log-data": { "cur_service_id": “xxxxxxxxxxxxxxxxxxx", "cur_service_name": "xxxxxxx", "method_name": "xxxx", "module_name": "xxxxx", "provider_name": "oxygen", "scope": "C", "sdk_version": "java_unified-logging-2.1.0", "server_id": "xxxxxxx", "significance": "INFO", "src_service_id": "xxxxxx", } }
  • 59. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. A unified log Architecture SQL Processor S P O G https://www.youtube.com/watch?v=jhYIxM2KiLs
  • 60. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Logs dashboard with Kibana
  • 61. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Performance and observability with x-ray
  • 62. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Metrics SPOG with Grafana
  • 64. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thank you Javier Ramirez @supercoco9