Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Data Science Master. ElasticSearch and Kibana....
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Daniel Izquierdo Cortazar
April 21, 2017
Technology
73
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Data Science Master. ElasticSearch and Kibana. Session 4: Querying ElasticSearch
Introduction to the REST API provided by ElasticSearch.
Daniel Izquierdo Cortazar
April 21, 2017
More Decks by Daniel Izquierdo Cortazar
See All by Daniel Izquierdo Cortazar
Beyond the 10%. Analysis of the gender-diversity gap.
dicortazar
0
46
Convergence of Communities: OKD = f(Kubernetes++)
dicortazar
0
50
Are you sure you're measuring what you want to measure?
dicortazar
0
35
InnerSource Patterns: A set of proven solutions to InnerSource problems
dicortazar
0
60
Are Maturity Models needed in Inner Source?
dicortazar
0
57
Defining a Metrics Strategy and Measuring Collaboration
dicortazar
1
59
The Xen Code Review Process: An Industrial Approach
dicortazar
0
46
Software Development Analytics, an Introduction
dicortazar
0
47
Defining a Metrics Strategy in Open Source Projects
dicortazar
0
46
Other Decks in Technology
See All in Technology
初めてのGitHub Actions / GitHub Actions at First
tooppoo
0
150
え?フロントエンドエンジニアの ワイがインフラも!?
puku0x
1
400
【CEDEC2026】専門性の高いデフォルメチームが挑んだ人材育成戦略 〜Cygames Academiaの企画から実施まで〜
cygames
PRO
0
520
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.1k
GitHub CopilotのFinOps- AI CreditのObservabilityと価値を生むためのエージェント設計
yuriemori
0
140
クラウドセキュリティ入門 ~安全なクラウド利用のための基礎知識~
lhazy
11
8.2k
モノリス Rails でも日中に rails db:migrate を走らせたい! / Daytime rails db:migrate on Monolithic Rails!
euglena1215
4
540
事業価値と Engineering 2026年度版
recruitengineers
PRO
42
22k
AIが自社のTableauを操作する世界へ:Tableau MCP超入門
tbtykk
0
120
ラジオの科学
frievea
0
270
サイバー捜査員研修(後半)
nomizone
1
790
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
350
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Music & Morning Musume
bryan
47
7.3k
BBQ
matthewcrist
89
10k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
290
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
490
Context Engineering - Making Every Token Count
addyosmani
9
1k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Rails Girls Zürich Keynote
gr2m
96
14k
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
Faster Mobile Websites
deanohume
310
32k
Transcript
Querying ElasticSearch Daniel Izquierdo Cortázar
[email protected]
/ @dizquierdo Bitergia
Outline Introduction ElasticSearch DSL Python Examples Daniel Izquierdo Cortázar Máster
en Data Science. ETSII. 2
ElasticSearch DSL Two main contexts: Query: looking for matches How
well does this document match with this query? Filter: filtering data as in SQL Does this document match with this query? Daniel Izquierdo Cortázar Máster en Data Science. ETSII. 3
ElasticSearch DSL And we can match, term or range queries
So we can query + match or filter + term. Daniel Izquierdo Cortázar Máster en Data Science. ETSII. 4
ElasticSearch DSL Match: accepts text/numerics/dates GET /_search { "query": {
"match" : { "message" : "this is a test" } } } Daniel Izquierdo Cortázar Máster en Data Science. ETSII. 5
ElasticSearch DSL Term: look for the exact value GET my_index/my_type/_search
{ "query": { "term": { "status": "open" } } } Daniel Izquierdo Cortázar Máster en Data Science. ETSII. 6
ElasticSearch DSL Ranges: numerics and dates GET _search { "query":
{ "range" : { "date" : { "gte" : "now-1d/d", "lt" : "now/d" } } } } Daniel Izquierdo Cortázar Máster en Data Science. ETSII. 7
ElasticSearch DSL Example of use https://github.com/dicortazar/ipython-notebooks/blob/master/teaching/masterdatascience/OPNFV%20Metrics%20with%20E lasticSearch%20DSL.ipynb Daniel Izquierdo Cortázar
Máster en Data Science. ETSII. 8