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
Daniel Izquierdo Cortazar
April 21, 2017
Technology
0
67
Data Science Master. ElasticSearch and Kibana. Session 4: Querying ElasticSearch
Introduction to the REST API provided by ElasticSearch.
Daniel Izquierdo Cortazar
April 21, 2017
Tweet
Share
More Decks by Daniel Izquierdo Cortazar
See All by Daniel Izquierdo Cortazar
Beyond the 10%. Analysis of the gender-diversity gap.
dicortazar
0
38
Convergence of Communities: OKD = f(Kubernetes++)
dicortazar
0
38
Are you sure you're measuring what you want to measure?
dicortazar
0
27
InnerSource Patterns: A set of proven solutions to InnerSource problems
dicortazar
0
49
Are Maturity Models needed in Inner Source?
dicortazar
0
38
Defining a Metrics Strategy and Measuring Collaboration
dicortazar
1
37
The Xen Code Review Process: An Industrial Approach
dicortazar
0
31
Software Development Analytics, an Introduction
dicortazar
0
39
Defining a Metrics Strategy in Open Source Projects
dicortazar
0
30
Other Decks in Technology
See All in Technology
薬屋のひとりごとにみるトラブルシューティング
tomokusaba
0
230
金融サービスにおける高速な価値提供とAIの役割 #BetAIDay
layerx
PRO
1
790
20250807_Kiroと私の反省会
riz3f7
0
200
마라톤 끝의 단거리 스퍼트: 2025년의 AI
inureyes
PRO
1
730
アカデミーキャンプ 2025 SuuuuuuMMeR「燃えろ!!ロボコン」 / Academy Camp 2025 SuuuuuuMMeR "Burn the Spirit, Robocon!!" DAY 1
ks91
PRO
0
130
Amazon Bedrock AgentCoreのフロントエンドを探す旅 (Next.js編)
kmiya84377
1
140
2025-07-31: GitHub Copilot Agent mode at Vibe Coding Cafe (15min)
chomado
2
400
九州の人に知ってもらいたいGISスポット / gis spot in kyushu 2025
sakaik
0
130
風が吹けばWHOISが使えなくなる~なぜWHOIS・RDAPはサーバー証明書のメール認証に使えなくなったのか~
orangemorishita
15
5.6k
Foundation Model × VisionKit で実現するローカル OCR
sansantech
PRO
1
340
SRE新規立ち上げ! Hubbleインフラのこれまでと展望
katsuya0515
0
180
Jamf Connect ZTNAとMDMで実現! 金融ベンチャーにおける「デバイストラスト」実例と軌跡 / Kyash Device Trust
rela1470
1
190
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
21
1.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
The Invisible Side of Design
smashingmag
301
51k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Adopting Sorbet at Scale
ufuk
77
9.5k
Speed Design
sergeychernyshev
32
1.1k
Statistics for Hackers
jakevdp
799
220k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
Gamification - CAS2011
davidbonilla
81
5.4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
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