SlideShare a Scribd company logo
TRACKING AND VISUALIZING
COVID-19 WITH ELASTIC STACK
Elastic Stockholm User Group
AGENDA AND
INTRODUCTIOS
1. General information
- Anna Ossowski
2. Tracking and visualizing
COVID-19 with Elastic stack
3. Q&A -Julie Zhong
4. Kahoot - win a K&C gift
card - Bolero AB
GENERAL
INFORMATION
1. Elastic meetup moves online
2. Thanks for our sponsor: Elastic
and Bolero AB
3. Elastic speaker desired
JULIE ZHONG
• Elastic Stockholm User Group Co-organizer
• Certified Elastic Engineer
• Work at Bolero AB, Kista, Stockholm
• https://www.linkedin.com/in/julie-zhong/
TRACKING AND VISUALIZING
COVID-19 WITH ELASTIC STACK
JULIE ZHONG
AGENDA
• 1. Elastic Stack
• 2. ECE
• 3. Indexing and Ingesting data
• 4. Search and aggregation
• 5. Discovery and Visulization
• 6. Dashboard
• 7. Demo
• 8. Q&A
Tracking and visualizing COVID-19 with Elastic stack
ELASTIC CLOUD ENTERPRISE (ECE)
• ECE, centrally manage Elasticsearch clusters,
available for installation in the environment
you choose - on public or private clouds,
virtual machines, or even on bare metal
hardware, supporting a wide range of
configurations.
CREATE DEPLOYMENT IN ECE
• Deploy Elasticsearch, Kibana and other products or features of the Elastic Stack quickly by picking one of
configuration and templates step by step.
• Each clusters in ECE created the nodes of Elasticsearch, Kibana, and APM (Application Performance Monitoring)
(optional), machine learning(optional).
• To change the configuration by “Edit” it.
MANAGE
DEPLOYMENT
• Restart/delete deployment
• Manage instances, Check
logs and activity, metrics
• Manage security(password
and keystore)
• Snapshots management
• API console
• Access Kibana/
elasticsearch
INDEX DATA PUT secorona/_doc/1
{ "number":"1",
"age_range":{
"lte":30,
"gte":20
}, "infected_in":"China",
"date_in":"2020-01-31",
"date_out":"2020-03-03",
"gender":"woman",
"recovered": true,
"death":false
“location”: "Jönköping”,
"comments":"from Wuhan, didn’t infect
anyone"}
Return response:
{
"_index" : "secorona",
"_type" : "_doc",
"_id" : "1",
"_version" : 1,
"result" : "created",
"_shards" : {
"total" : 2,
"successful" : 1,
"failed" : 0
},
"_seq_no" : 0,
"_primary_term" : 1
}
Elasticsearch is a distributed
document store.
A document is a serialized JSON
object that is stored in Elasticsearch
under a unique ID
Documents are Indexed into an
Index.
A shard is a single piece of an
Elasticsearch index
BULK OPERTATION
• The Bulk API makes it possible to
perform many write operations in
a single API call, greatly increases
the indexing speed
• The response give the individual
result of each action that was
performed. The failure of a single
action does not affect the
remaining actions
POST _bulk

{ "index" : { "_index" : "coronasw", "_id" : "1505" } }

{ "date_in" : "2020-05-24", "new":3,"location":"Blekinge"}

{ "index" : { "_index" : "coronasw", "_id" : "1506" } }

{ "date_in" : "2020-05-24", "new":7,"location":"Dalarna"}

{ "index" : { "_index" : "coronasw", "_id" : "1507" } }

{ "date_in" : "2020-05-24", "new":1,"location":"Gotland"}

{"index" : { "_index" : "coronasw", "_id" : "1508" } }

{ "date_in" : "2020-05-24",
"new":8,"location":"Gävleborg"}

……

{ "index" : { "_index" : "coronasw", "_id" : "1521" } }

{ "date_in" : "2020-05-24",
"new":0,"location":"Västmanland"}

{ "index" : { "_index" : "coronasw", "_id" : "1522" } }

{ "date_in" : "2020-05-24", "new":27,"location":"Västra
Götaland"}

{ "index" : { "_index" : "coronasw", "_id" : "1523" } }

{ "date_in" : "2020-05-24", "new":29,"location":"Örebro"}

{ "index" : { "_index" : "coronasw", "_id" : "1524" } }

{ "date_in" : "2020-05-24",
"new":5,"location":"Östergötland"}
INGEST COVID-19 DATA
• 1.Logstash –ingest pipeline
• 2 Load CSV, JSON files via Kibana machine learning-data visualization
(demo)
• 3. Push data through API via Python, etc
• 4. Upload GEOJSON in the Kibana map.
COVID-19 DATA SET DOWNLOAD:
• Sweden Folkhalsomyndigheten (Excel):
https://www.arcgis.com/sharing/rest/content/items/
b5e7488e117749c19881cce45db13f7e/data
• Global: CSV or JSON or Excel:
https://www.ecdc.europa.eu/en/publications-data/download-todays-data-
geographic-distribution-covid-19-cases-worldwide
• Github
SEARCH
• In search, we look for a subset
of the original dataset, and
results are hits that match our
search parameters.
• Query DSL (Domain Specific
Language) allows you to write
queries in a JSON format
• There are many query/filter
clauses and parameters to
combine for a search.
GET coronadeath/_search
{
"size": 20,
"query": {
"bool": {
"filter": [
{"range": {
"date_in": {
"gte": "2020-05-13",
"lte": "2020-05-20"
}
}}
]
}
}}
Return response: ->
{
"took" : 3,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 99,
"relation" : "eq"
},
"max_score" : 0.0,
"hits" : [
{
"_index" : "coronadeath",
"_type" : "_doc",
"_id" : "QqDLRXIBhONC5PQEda-x",
"_score" : 0.0,
"_source" : {
"date_in" : "2020-05-14",
"death" : 46,
"location" : "Stockholm”
……
AGGREGATION
• Aggregations are a way to perform
analytics on your indexed data.
• There are two basic type of
aggregations and can be combined
or nested:
1. Buckets, a collection of documents
that meet a criterion, like
histogram and terms
2. Metrics, compute numeric values
based on your dataset, like min,
max, avg
3. Other aggregations: pipeline
aggregation, Matrix
GET coronadeath/_doc/_search
{
"size":0,
"aggs" : {
"corornadeath_overtime" : {
"date_histogram" : {
"field" : "date_in",
"interval" : "day”
},
"aggs":{
"sum_of_theday":{
"sum":{
"field":"death"
} } } } } }
Return response: ->
"aggregations" : {
"corornadeath_overtime" : {
"buckets" : [
……
{
"key_as_string" : "2020-04-22T00:00:0
"key" : 1587513600000,
"doc_count" : 19,
"sum_of_theday" : {
"value" : 144.0
}
},
{
"key_as_string" : "2020-04-15T00:00:0
"key" : 1586908800000,
"doc_count" : 18,
"sum_of_theday" : {
"value" : 141.0
}
},
…….
VISUALIZATION IN KIBANA
• Kibana is Window into Elastic Stack ‒ Provides
Web-based UI to manage, search, and analyze
data.
• Kibana is also a great tool to visualize data.
• The first step for Visualization is to create Index
Pattern, which points to one or more Elasticsearch
indices, so that Kibana knows which data you want
to visualize with.
DISCOVER
INTERFACE
Explore data in Elasticsearch
Slice and Dice (Analyze) Data
-Tool bar
-Side navigation
-Time picker
-Query bar
-Filter
-Index pattern
-Date Histogram
-Document table
VISULIZATION
• A visualization is created out of
aggregations
• There are many types of
visualization available in kibana
such as: Lens, Data table, Line,
Horizontal/Vertical bar, Pie, metric,
Markdown, Map, Heap map, Tag
Cloud, Vega, and so on.
• Here is one example showing daily
new and death number in
Stockholm.
KIBANA DASHBOARD
• Dashboard is a Collection of
Visualizations and Saved Searches
• Once a dashboard is saved, you
can share it
Demo
Q&A
KAHOOT • Win a  Kjell o company gift card, sponsored by Bolero AB
THANK YOU
EVERYONE
• Hope to see you
again soon

More Related Content

Similar to Tracking and visualizing COVID-19 with Elastic stack (20)

Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Couchbase Tutorial: Big data Open Source Systems: VLDB2018Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Keshav Murthy
 
October 1 NISO Training Thursday: Using Alerting Systems to Ensure OA Policy ...
October 1 NISO Training Thursday: Using Alerting Systems to Ensure OA Policy ...October 1 NISO Training Thursday: Using Alerting Systems to Ensure OA Policy ...
October 1 NISO Training Thursday: Using Alerting Systems to Ensure OA Policy ...
National Information Standards Organization (NISO)
 
Mongo at Sailthru (MongoNYC 2011)
Mongo at Sailthru (MongoNYC 2011)Mongo at Sailthru (MongoNYC 2011)
Mongo at Sailthru (MongoNYC 2011)
ibwhite
 
Overview of the Living Labs for IR Evaluation (LL4IR) CLEF Lab
Overview of the Living Labs for IR Evaluation (LL4IR) CLEF LabOverview of the Living Labs for IR Evaluation (LL4IR) CLEF Lab
Overview of the Living Labs for IR Evaluation (LL4IR) CLEF Lab
krisztianbalog
 
Query log analytics - using logstash, elasticsearch and kibana 28.11.2013
Query log analytics - using logstash, elasticsearch and kibana 28.11.2013Query log analytics - using logstash, elasticsearch and kibana 28.11.2013
Query log analytics - using logstash, elasticsearch and kibana 28.11.2013
Niels Henrik Hagen
 
Presentation Brucon - Anubisnetworks and PTCoresec
Presentation Brucon - Anubisnetworks and PTCoresecPresentation Brucon - Anubisnetworks and PTCoresec
Presentation Brucon - Anubisnetworks and PTCoresec
Tiago Henriques
 
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
South Tyrol Free Software Conference
 
LOD2 Webinar: SIREn
LOD2 Webinar: SIREnLOD2 Webinar: SIREn
LOD2 Webinar: SIREn
LOD2 Creating Knowledge out of Interlinked Data
 
Life on Clouds: a forensics overview
Life on Clouds: a forensics overviewLife on Clouds: a forensics overview
Life on Clouds: a forensics overview
Reality Net System Solutions
 
Beyond the Basics 2: Aggregation Framework
Beyond the Basics 2: Aggregation Framework Beyond the Basics 2: Aggregation Framework
Beyond the Basics 2: Aggregation Framework
MongoDB
 
ELK - What's new and showcases
ELK - What's new and showcasesELK - What's new and showcases
ELK - What's new and showcases
Andrii Gakhov
 
Test trend analysis: Towards robust reliable and timely tests
Test trend analysis: Towards robust reliable and timely testsTest trend analysis: Towards robust reliable and timely tests
Test trend analysis: Towards robust reliable and timely tests
Hugh McCamphill
 
Visualizing Mobile Broadband with MongoDB
Visualizing Mobile Broadband with MongoDBVisualizing Mobile Broadband with MongoDB
Visualizing Mobile Broadband with MongoDB
MongoDB
 
Anwendungsfaelle für Elasticsearch
Anwendungsfaelle für ElasticsearchAnwendungsfaelle für Elasticsearch
Anwendungsfaelle für Elasticsearch
Florian Hopf
 
DRUPAL AND ELASTICSEARCH
DRUPAL AND ELASTICSEARCHDRUPAL AND ELASTICSEARCH
DRUPAL AND ELASTICSEARCH
DrupalCamp Kyiv
 
Elastic search and Symfony3 - A practical approach
Elastic search and Symfony3 - A practical approachElastic search and Symfony3 - A practical approach
Elastic search and Symfony3 - A practical approach
SymfonyMu
 
Data Sharing and Caring In HealthCare - MedYear's experience building Big Dat...
Data Sharing and Caring In HealthCare - MedYear's experience building Big Dat...Data Sharing and Caring In HealthCare - MedYear's experience building Big Dat...
Data Sharing and Caring In HealthCare - MedYear's experience building Big Dat...
Mark Scrimshire
 
Closing the Loop in Extended Reality with Kafka Streams and Machine Learning ...
Closing the Loop in Extended Reality with Kafka Streams and Machine Learning ...Closing the Loop in Extended Reality with Kafka Streams and Machine Learning ...
Closing the Loop in Extended Reality with Kafka Streams and Machine Learning ...
confluent
 
Reproducible Workflow with Cytoscape and Jupyter Notebook
Reproducible Workflow with Cytoscape and Jupyter NotebookReproducible Workflow with Cytoscape and Jupyter Notebook
Reproducible Workflow with Cytoscape and Jupyter Notebook
Keiichiro Ono
 
Rotterdam Open Data: Combining Education, Research, Business and Local Govern...
Rotterdam Open Data: Combining Education, Research, Business and Local Govern...Rotterdam Open Data: Combining Education, Research, Business and Local Govern...
Rotterdam Open Data: Combining Education, Research, Business and Local Govern...
Peter Conradie
 
Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Couchbase Tutorial: Big data Open Source Systems: VLDB2018Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Keshav Murthy
 
Mongo at Sailthru (MongoNYC 2011)
Mongo at Sailthru (MongoNYC 2011)Mongo at Sailthru (MongoNYC 2011)
Mongo at Sailthru (MongoNYC 2011)
ibwhite
 
Overview of the Living Labs for IR Evaluation (LL4IR) CLEF Lab
Overview of the Living Labs for IR Evaluation (LL4IR) CLEF LabOverview of the Living Labs for IR Evaluation (LL4IR) CLEF Lab
Overview of the Living Labs for IR Evaluation (LL4IR) CLEF Lab
krisztianbalog
 
Query log analytics - using logstash, elasticsearch and kibana 28.11.2013
Query log analytics - using logstash, elasticsearch and kibana 28.11.2013Query log analytics - using logstash, elasticsearch and kibana 28.11.2013
Query log analytics - using logstash, elasticsearch and kibana 28.11.2013
Niels Henrik Hagen
 
Presentation Brucon - Anubisnetworks and PTCoresec
Presentation Brucon - Anubisnetworks and PTCoresecPresentation Brucon - Anubisnetworks and PTCoresec
Presentation Brucon - Anubisnetworks and PTCoresec
Tiago Henriques
 
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
SFScon17 - Patrick Puecher: "Exploring data with Elasticsearch and Kibana"
South Tyrol Free Software Conference
 
Beyond the Basics 2: Aggregation Framework
Beyond the Basics 2: Aggregation Framework Beyond the Basics 2: Aggregation Framework
Beyond the Basics 2: Aggregation Framework
MongoDB
 
ELK - What's new and showcases
ELK - What's new and showcasesELK - What's new and showcases
ELK - What's new and showcases
Andrii Gakhov
 
Test trend analysis: Towards robust reliable and timely tests
Test trend analysis: Towards robust reliable and timely testsTest trend analysis: Towards robust reliable and timely tests
Test trend analysis: Towards robust reliable and timely tests
Hugh McCamphill
 
Visualizing Mobile Broadband with MongoDB
Visualizing Mobile Broadband with MongoDBVisualizing Mobile Broadband with MongoDB
Visualizing Mobile Broadband with MongoDB
MongoDB
 
Anwendungsfaelle für Elasticsearch
Anwendungsfaelle für ElasticsearchAnwendungsfaelle für Elasticsearch
Anwendungsfaelle für Elasticsearch
Florian Hopf
 
DRUPAL AND ELASTICSEARCH
DRUPAL AND ELASTICSEARCHDRUPAL AND ELASTICSEARCH
DRUPAL AND ELASTICSEARCH
DrupalCamp Kyiv
 
Elastic search and Symfony3 - A practical approach
Elastic search and Symfony3 - A practical approachElastic search and Symfony3 - A practical approach
Elastic search and Symfony3 - A practical approach
SymfonyMu
 
Data Sharing and Caring In HealthCare - MedYear's experience building Big Dat...
Data Sharing and Caring In HealthCare - MedYear's experience building Big Dat...Data Sharing and Caring In HealthCare - MedYear's experience building Big Dat...
Data Sharing and Caring In HealthCare - MedYear's experience building Big Dat...
Mark Scrimshire
 
Closing the Loop in Extended Reality with Kafka Streams and Machine Learning ...
Closing the Loop in Extended Reality with Kafka Streams and Machine Learning ...Closing the Loop in Extended Reality with Kafka Streams and Machine Learning ...
Closing the Loop in Extended Reality with Kafka Streams and Machine Learning ...
confluent
 
Reproducible Workflow with Cytoscape and Jupyter Notebook
Reproducible Workflow with Cytoscape and Jupyter NotebookReproducible Workflow with Cytoscape and Jupyter Notebook
Reproducible Workflow with Cytoscape and Jupyter Notebook
Keiichiro Ono
 
Rotterdam Open Data: Combining Education, Research, Business and Local Govern...
Rotterdam Open Data: Combining Education, Research, Business and Local Govern...Rotterdam Open Data: Combining Education, Research, Business and Local Govern...
Rotterdam Open Data: Combining Education, Research, Business and Local Govern...
Peter Conradie
 

More from Anna Ossowski (14)

Load testing Elasticsearch with Gatling
Load testing Elasticsearch with GatlingLoad testing Elasticsearch with Gatling
Load testing Elasticsearch with Gatling
Anna Ossowski
 
How Elastic Security Meets SOC Needs
How Elastic Security Meets SOC NeedsHow Elastic Security Meets SOC Needs
How Elastic Security Meets SOC Needs
Anna Ossowski
 
Elastic Morocco Meetup Nov 2020
Elastic Morocco Meetup Nov 2020Elastic Morocco Meetup Nov 2020
Elastic Morocco Meetup Nov 2020
Anna Ossowski
 
Elastic stockholm-meetup
Elastic stockholm-meetupElastic stockholm-meetup
Elastic stockholm-meetup
Anna Ossowski
 
Elastic Morocco user group meetup June
Elastic Morocco user group meetup JuneElastic Morocco user group meetup June
Elastic Morocco user group meetup June
Anna Ossowski
 
Elastic Morocco user group meetup July
Elastic Morocco user group meetup JulyElastic Morocco user group meetup July
Elastic Morocco user group meetup July
Anna Ossowski
 
Visualise Covid-19 Data Using the Elastic Stack
Visualise Covid-19 Data Using the Elastic StackVisualise Covid-19 Data Using the Elastic Stack
Visualise Covid-19 Data Using the Elastic Stack
Anna Ossowski
 
Tworzenie wyszukiwarek w elastic search
Tworzenie wyszukiwarek w elastic searchTworzenie wyszukiwarek w elastic search
Tworzenie wyszukiwarek w elastic search
Anna Ossowski
 
Elastic stack upgrade
Elastic stack upgradeElastic stack upgrade
Elastic stack upgrade
Anna Ossowski
 
Elastic South Africa Meetup September 2020
Elastic South Africa Meetup September 2020Elastic South Africa Meetup September 2020
Elastic South Africa Meetup September 2020
Anna Ossowski
 
Elastic South Africa Meetup July 2020
Elastic South Africa Meetup July 2020Elastic South Africa Meetup July 2020
Elastic South Africa Meetup July 2020
Anna Ossowski
 
Elastic South Africa Meetup June 2020
Elastic South Africa Meetup June 2020Elastic South Africa Meetup June 2020
Elastic South Africa Meetup June 2020
Anna Ossowski
 
Elastic South Africa Meetup April 2020
Elastic South Africa Meetup April 2020Elastic South Africa Meetup April 2020
Elastic South Africa Meetup April 2020
Anna Ossowski
 
[Virtual Meetup] Using Elasticsearch as a Time-Series Database in the Endpoin...
[Virtual Meetup] Using Elasticsearch as a Time-Series Database in the Endpoin...[Virtual Meetup] Using Elasticsearch as a Time-Series Database in the Endpoin...
[Virtual Meetup] Using Elasticsearch as a Time-Series Database in the Endpoin...
Anna Ossowski
 
Load testing Elasticsearch with Gatling
Load testing Elasticsearch with GatlingLoad testing Elasticsearch with Gatling
Load testing Elasticsearch with Gatling
Anna Ossowski
 
How Elastic Security Meets SOC Needs
How Elastic Security Meets SOC NeedsHow Elastic Security Meets SOC Needs
How Elastic Security Meets SOC Needs
Anna Ossowski
 
Elastic Morocco Meetup Nov 2020
Elastic Morocco Meetup Nov 2020Elastic Morocco Meetup Nov 2020
Elastic Morocco Meetup Nov 2020
Anna Ossowski
 
Elastic stockholm-meetup
Elastic stockholm-meetupElastic stockholm-meetup
Elastic stockholm-meetup
Anna Ossowski
 
Elastic Morocco user group meetup June
Elastic Morocco user group meetup JuneElastic Morocco user group meetup June
Elastic Morocco user group meetup June
Anna Ossowski
 
Elastic Morocco user group meetup July
Elastic Morocco user group meetup JulyElastic Morocco user group meetup July
Elastic Morocco user group meetup July
Anna Ossowski
 
Visualise Covid-19 Data Using the Elastic Stack
Visualise Covid-19 Data Using the Elastic StackVisualise Covid-19 Data Using the Elastic Stack
Visualise Covid-19 Data Using the Elastic Stack
Anna Ossowski
 
Tworzenie wyszukiwarek w elastic search
Tworzenie wyszukiwarek w elastic searchTworzenie wyszukiwarek w elastic search
Tworzenie wyszukiwarek w elastic search
Anna Ossowski
 
Elastic stack upgrade
Elastic stack upgradeElastic stack upgrade
Elastic stack upgrade
Anna Ossowski
 
Elastic South Africa Meetup September 2020
Elastic South Africa Meetup September 2020Elastic South Africa Meetup September 2020
Elastic South Africa Meetup September 2020
Anna Ossowski
 
Elastic South Africa Meetup July 2020
Elastic South Africa Meetup July 2020Elastic South Africa Meetup July 2020
Elastic South Africa Meetup July 2020
Anna Ossowski
 
Elastic South Africa Meetup June 2020
Elastic South Africa Meetup June 2020Elastic South Africa Meetup June 2020
Elastic South Africa Meetup June 2020
Anna Ossowski
 
Elastic South Africa Meetup April 2020
Elastic South Africa Meetup April 2020Elastic South Africa Meetup April 2020
Elastic South Africa Meetup April 2020
Anna Ossowski
 
[Virtual Meetup] Using Elasticsearch as a Time-Series Database in the Endpoin...
[Virtual Meetup] Using Elasticsearch as a Time-Series Database in the Endpoin...[Virtual Meetup] Using Elasticsearch as a Time-Series Database in the Endpoin...
[Virtual Meetup] Using Elasticsearch as a Time-Series Database in the Endpoin...
Anna Ossowski
 

Recently uploaded (20)

Gihbli AI and Geo sitution |use/misuse of Ai Technology
Gihbli AI and Geo sitution |use/misuse of Ai TechnologyGihbli AI and Geo sitution |use/misuse of Ai Technology
Gihbli AI and Geo sitution |use/misuse of Ai Technology
zainkhurram1111
 
John Carmack’s Notes From His Upper Bound 2025 Talk
John Carmack’s Notes From His Upper Bound 2025 TalkJohn Carmack’s Notes From His Upper Bound 2025 Talk
John Carmack’s Notes From His Upper Bound 2025 Talk
Razin Mustafiz
 
Supercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMsSupercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMs
Francesco Corti
 
Introducing the OSA 3200 SP and OSA 3250 ePRC
Introducing the OSA 3200 SP and OSA 3250 ePRCIntroducing the OSA 3200 SP and OSA 3250 ePRC
Introducing the OSA 3200 SP and OSA 3250 ePRC
Adtran
 
Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025
Splunk
 
Droidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing HealthcareDroidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing Healthcare
Droidal LLC
 
Cognitive Chasms - A Typology of GenAI Failure Failure Modes
Cognitive Chasms - A Typology of GenAI Failure Failure ModesCognitive Chasms - A Typology of GenAI Failure Failure Modes
Cognitive Chasms - A Typology of GenAI Failure Failure Modes
Dr. Tathagat Varma
 
Maxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing placeMaxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing place
usersalmanrazdelhi
 
What’s New in Web3 Development Trends to Watch in 2025.pptx
What’s New in Web3 Development Trends to Watch in 2025.pptxWhat’s New in Web3 Development Trends to Watch in 2025.pptx
What’s New in Web3 Development Trends to Watch in 2025.pptx
Lisa ward
 
Talk: On an adventure into the depths of Maven - Kaya Weers
Talk: On an adventure into the depths of Maven - Kaya WeersTalk: On an adventure into the depths of Maven - Kaya Weers
Talk: On an adventure into the depths of Maven - Kaya Weers
Kaya Weers
 
Fully Open-Source Private Clouds: Freedom, Security, and Control
Fully Open-Source Private Clouds: Freedom, Security, and ControlFully Open-Source Private Clouds: Freedom, Security, and Control
Fully Open-Source Private Clouds: Freedom, Security, and Control
ShapeBlue
 
AI Emotional Actors: “When Machines Learn to Feel and Perform"
AI Emotional Actors:  “When Machines Learn to Feel and Perform"AI Emotional Actors:  “When Machines Learn to Feel and Perform"
AI Emotional Actors: “When Machines Learn to Feel and Perform"
AkashKumar809858
 
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AIAI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
Buhake Sindi
 
Multistream in SIP and NoSIP @ OpenSIPS Summit 2025
Multistream in SIP and NoSIP @ OpenSIPS Summit 2025Multistream in SIP and NoSIP @ OpenSIPS Summit 2025
Multistream in SIP and NoSIP @ OpenSIPS Summit 2025
Lorenzo Miniero
 
Measuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI SuccessMeasuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI Success
Nikki Chapple
 
What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!
cryptouniversityoffi
 
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk TechniciansOffshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
john823664
 
"AI in the browser: predicting user actions in real time with TensorflowJS", ...
"AI in the browser: predicting user actions in real time with TensorflowJS", ..."AI in the browser: predicting user actions in real time with TensorflowJS", ...
"AI in the browser: predicting user actions in real time with TensorflowJS", ...
Fwdays
 
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Eugene Fidelin
 
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptxECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
Jasper Oosterveld
 
Gihbli AI and Geo sitution |use/misuse of Ai Technology
Gihbli AI and Geo sitution |use/misuse of Ai TechnologyGihbli AI and Geo sitution |use/misuse of Ai Technology
Gihbli AI and Geo sitution |use/misuse of Ai Technology
zainkhurram1111
 
John Carmack’s Notes From His Upper Bound 2025 Talk
John Carmack’s Notes From His Upper Bound 2025 TalkJohn Carmack’s Notes From His Upper Bound 2025 Talk
John Carmack’s Notes From His Upper Bound 2025 Talk
Razin Mustafiz
 
Supercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMsSupercharge Your AI Development with Local LLMs
Supercharge Your AI Development with Local LLMs
Francesco Corti
 
Introducing the OSA 3200 SP and OSA 3250 ePRC
Introducing the OSA 3200 SP and OSA 3250 ePRCIntroducing the OSA 3200 SP and OSA 3250 ePRC
Introducing the OSA 3200 SP and OSA 3250 ePRC
Adtran
 
Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025Splunk Leadership Forum Wien - 20.05.2025
Splunk Leadership Forum Wien - 20.05.2025
Splunk
 
Droidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing HealthcareDroidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing Healthcare
Droidal LLC
 
Cognitive Chasms - A Typology of GenAI Failure Failure Modes
Cognitive Chasms - A Typology of GenAI Failure Failure ModesCognitive Chasms - A Typology of GenAI Failure Failure Modes
Cognitive Chasms - A Typology of GenAI Failure Failure Modes
Dr. Tathagat Varma
 
Maxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing placeMaxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing place
usersalmanrazdelhi
 
What’s New in Web3 Development Trends to Watch in 2025.pptx
What’s New in Web3 Development Trends to Watch in 2025.pptxWhat’s New in Web3 Development Trends to Watch in 2025.pptx
What’s New in Web3 Development Trends to Watch in 2025.pptx
Lisa ward
 
Talk: On an adventure into the depths of Maven - Kaya Weers
Talk: On an adventure into the depths of Maven - Kaya WeersTalk: On an adventure into the depths of Maven - Kaya Weers
Talk: On an adventure into the depths of Maven - Kaya Weers
Kaya Weers
 
Fully Open-Source Private Clouds: Freedom, Security, and Control
Fully Open-Source Private Clouds: Freedom, Security, and ControlFully Open-Source Private Clouds: Freedom, Security, and Control
Fully Open-Source Private Clouds: Freedom, Security, and Control
ShapeBlue
 
AI Emotional Actors: “When Machines Learn to Feel and Perform"
AI Emotional Actors:  “When Machines Learn to Feel and Perform"AI Emotional Actors:  “When Machines Learn to Feel and Perform"
AI Emotional Actors: “When Machines Learn to Feel and Perform"
AkashKumar809858
 
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AIAI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
AI in Java - MCP in Action, Langchain4J-CDI, SmallRye-LLM, Spring AI
Buhake Sindi
 
Multistream in SIP and NoSIP @ OpenSIPS Summit 2025
Multistream in SIP and NoSIP @ OpenSIPS Summit 2025Multistream in SIP and NoSIP @ OpenSIPS Summit 2025
Multistream in SIP and NoSIP @ OpenSIPS Summit 2025
Lorenzo Miniero
 
Measuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI SuccessMeasuring Microsoft 365 Copilot and Gen AI Success
Measuring Microsoft 365 Copilot and Gen AI Success
Nikki Chapple
 
What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!What is DePIN? The Hottest Trend in Web3 Right Now!
What is DePIN? The Hottest Trend in Web3 Right Now!
cryptouniversityoffi
 
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk TechniciansOffshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
john823664
 
"AI in the browser: predicting user actions in real time with TensorflowJS", ...
"AI in the browser: predicting user actions in real time with TensorflowJS", ..."AI in the browser: predicting user actions in real time with TensorflowJS", ...
"AI in the browser: predicting user actions in real time with TensorflowJS", ...
Fwdays
 
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Marko.js - Unsung Hero of Scalable Web Frameworks (DevDays 2025)
Eugene Fidelin
 
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptxECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
Jasper Oosterveld
 

Tracking and visualizing COVID-19 with Elastic stack

  • 1. TRACKING AND VISUALIZING COVID-19 WITH ELASTIC STACK Elastic Stockholm User Group
  • 2. AGENDA AND INTRODUCTIOS 1. General information - Anna Ossowski 2. Tracking and visualizing COVID-19 with Elastic stack 3. Q&A -Julie Zhong 4. Kahoot - win a K&C gift card - Bolero AB
  • 3. GENERAL INFORMATION 1. Elastic meetup moves online 2. Thanks for our sponsor: Elastic and Bolero AB 3. Elastic speaker desired
  • 4. JULIE ZHONG • Elastic Stockholm User Group Co-organizer • Certified Elastic Engineer • Work at Bolero AB, Kista, Stockholm • https://www.linkedin.com/in/julie-zhong/
  • 5. TRACKING AND VISUALIZING COVID-19 WITH ELASTIC STACK JULIE ZHONG
  • 6. AGENDA • 1. Elastic Stack • 2. ECE • 3. Indexing and Ingesting data • 4. Search and aggregation • 5. Discovery and Visulization • 6. Dashboard • 7. Demo • 8. Q&A
  • 8. ELASTIC CLOUD ENTERPRISE (ECE) • ECE, centrally manage Elasticsearch clusters, available for installation in the environment you choose - on public or private clouds, virtual machines, or even on bare metal hardware, supporting a wide range of configurations.
  • 9. CREATE DEPLOYMENT IN ECE • Deploy Elasticsearch, Kibana and other products or features of the Elastic Stack quickly by picking one of configuration and templates step by step. • Each clusters in ECE created the nodes of Elasticsearch, Kibana, and APM (Application Performance Monitoring) (optional), machine learning(optional). • To change the configuration by “Edit” it.
  • 10. MANAGE DEPLOYMENT • Restart/delete deployment • Manage instances, Check logs and activity, metrics • Manage security(password and keystore) • Snapshots management • API console • Access Kibana/ elasticsearch
  • 11. INDEX DATA PUT secorona/_doc/1 { "number":"1", "age_range":{ "lte":30, "gte":20 }, "infected_in":"China", "date_in":"2020-01-31", "date_out":"2020-03-03", "gender":"woman", "recovered": true, "death":false “location”: "Jönköping”, "comments":"from Wuhan, didn’t infect anyone"} Return response: { "_index" : "secorona", "_type" : "_doc", "_id" : "1", "_version" : 1, "result" : "created", "_shards" : { "total" : 2, "successful" : 1, "failed" : 0 }, "_seq_no" : 0, "_primary_term" : 1 } Elasticsearch is a distributed document store. A document is a serialized JSON object that is stored in Elasticsearch under a unique ID Documents are Indexed into an Index. A shard is a single piece of an Elasticsearch index
  • 12. BULK OPERTATION • The Bulk API makes it possible to perform many write operations in a single API call, greatly increases the indexing speed • The response give the individual result of each action that was performed. The failure of a single action does not affect the remaining actions POST _bulk { "index" : { "_index" : "coronasw", "_id" : "1505" } } { "date_in" : "2020-05-24", "new":3,"location":"Blekinge"} { "index" : { "_index" : "coronasw", "_id" : "1506" } } { "date_in" : "2020-05-24", "new":7,"location":"Dalarna"} { "index" : { "_index" : "coronasw", "_id" : "1507" } } { "date_in" : "2020-05-24", "new":1,"location":"Gotland"} {"index" : { "_index" : "coronasw", "_id" : "1508" } } { "date_in" : "2020-05-24", "new":8,"location":"Gävleborg"} …… { "index" : { "_index" : "coronasw", "_id" : "1521" } } { "date_in" : "2020-05-24", "new":0,"location":"Västmanland"} { "index" : { "_index" : "coronasw", "_id" : "1522" } } { "date_in" : "2020-05-24", "new":27,"location":"Västra Götaland"} { "index" : { "_index" : "coronasw", "_id" : "1523" } } { "date_in" : "2020-05-24", "new":29,"location":"Örebro"} { "index" : { "_index" : "coronasw", "_id" : "1524" } } { "date_in" : "2020-05-24", "new":5,"location":"Östergötland"}
  • 13. INGEST COVID-19 DATA • 1.Logstash –ingest pipeline • 2 Load CSV, JSON files via Kibana machine learning-data visualization (demo) • 3. Push data through API via Python, etc • 4. Upload GEOJSON in the Kibana map.
  • 14. COVID-19 DATA SET DOWNLOAD: • Sweden Folkhalsomyndigheten (Excel): https://www.arcgis.com/sharing/rest/content/items/ b5e7488e117749c19881cce45db13f7e/data • Global: CSV or JSON or Excel: https://www.ecdc.europa.eu/en/publications-data/download-todays-data- geographic-distribution-covid-19-cases-worldwide • Github
  • 15. SEARCH • In search, we look for a subset of the original dataset, and results are hits that match our search parameters. • Query DSL (Domain Specific Language) allows you to write queries in a JSON format • There are many query/filter clauses and parameters to combine for a search. GET coronadeath/_search { "size": 20, "query": { "bool": { "filter": [ {"range": { "date_in": { "gte": "2020-05-13", "lte": "2020-05-20" } }} ] } }} Return response: -> { "took" : 3, "timed_out" : false, "_shards" : { "total" : 1, "successful" : 1, "skipped" : 0, "failed" : 0 }, "hits" : { "total" : { "value" : 99, "relation" : "eq" }, "max_score" : 0.0, "hits" : [ { "_index" : "coronadeath", "_type" : "_doc", "_id" : "QqDLRXIBhONC5PQEda-x", "_score" : 0.0, "_source" : { "date_in" : "2020-05-14", "death" : 46, "location" : "Stockholm” ……
  • 16. AGGREGATION • Aggregations are a way to perform analytics on your indexed data. • There are two basic type of aggregations and can be combined or nested: 1. Buckets, a collection of documents that meet a criterion, like histogram and terms 2. Metrics, compute numeric values based on your dataset, like min, max, avg 3. Other aggregations: pipeline aggregation, Matrix GET coronadeath/_doc/_search { "size":0, "aggs" : { "corornadeath_overtime" : { "date_histogram" : { "field" : "date_in", "interval" : "day” }, "aggs":{ "sum_of_theday":{ "sum":{ "field":"death" } } } } } } Return response: -> "aggregations" : { "corornadeath_overtime" : { "buckets" : [ …… { "key_as_string" : "2020-04-22T00:00:0 "key" : 1587513600000, "doc_count" : 19, "sum_of_theday" : { "value" : 144.0 } }, { "key_as_string" : "2020-04-15T00:00:0 "key" : 1586908800000, "doc_count" : 18, "sum_of_theday" : { "value" : 141.0 } }, …….
  • 17. VISUALIZATION IN KIBANA • Kibana is Window into Elastic Stack ‒ Provides Web-based UI to manage, search, and analyze data. • Kibana is also a great tool to visualize data. • The first step for Visualization is to create Index Pattern, which points to one or more Elasticsearch indices, so that Kibana knows which data you want to visualize with.
  • 18. DISCOVER INTERFACE Explore data in Elasticsearch Slice and Dice (Analyze) Data -Tool bar -Side navigation -Time picker -Query bar -Filter -Index pattern -Date Histogram -Document table
  • 19. VISULIZATION • A visualization is created out of aggregations • There are many types of visualization available in kibana such as: Lens, Data table, Line, Horizontal/Vertical bar, Pie, metric, Markdown, Map, Heap map, Tag Cloud, Vega, and so on. • Here is one example showing daily new and death number in Stockholm.
  • 20. KIBANA DASHBOARD • Dashboard is a Collection of Visualizations and Saved Searches • Once a dashboard is saved, you can share it
  • 21. Demo
  • 22. Q&A
  • 23. KAHOOT • Win a  Kjell o company gift card, sponsored by Bolero AB
  • 24. THANK YOU EVERYONE • Hope to see you again soon