SlideShare une entreprise Scribd logo
1  sur  26
Search and Find
Luc Gorissen
ACM/BPM and Elastic Search
Luc Gorissen
Previous employers:
- KPN Research
- CMG Wireless Data Solutions
- OraVision
- Oracle
Focus:
- BPM and SOA Suite
luc.gorissen@amis.nl
+31 6 3622 4226
@LucGorissen
No, no, no
LinkedIn
The Challenge
Starting Point:
Our ACM/BPM implementation supports successfully our core business processes
Requirement:
We need to be able to search through case/process data of the last 7 year
We need:
An ACM/BPM archive where we can
search through data
of cases/processes of up to 7 years old
The Technology
Company:
Product:
Promise:
Can it be done?
... a highly scalable open-source full-text search and analytics engine.
It allows you to store, search, and analyze big volumes of data
quickly and in near real time.
5
Topics
Use Case Data
Use Case
Evaluation
Use CaseElastic Product
Stack Basic Concepts
31 2
4 5
Recommendation
6
6
Elastic Product Stack
... a highly scalable open-source full-text search and analytics engine.
It allows you to store, search, and analyze big volumes of data
quickly and in near real time.
• Full-Text Search
• Document-Oriented
• Near-Real-Time
• Horizontally Scalable
• Multi Tenant
• Schema-Free
• REST-API
• Open Source – Apache 2 license
• On top of Apache Lucene
• REST/JSON
Features
7
Elastic Product Stack
Product Description
Elasticsearch Search engine
Elastic Cloud Elasticsearch Cloud offering
Logstash Data collection engine
Kibana Analytics and visualization platform
Beats Collect data (network, infra, file, winlog) and ship
Shield Protect access to your data
Watcher Alerts/notifications from changes in your data
Marvel Monitor your Elasticsearch cluster
8
Elastic Product Stack
Maturity
• Complete product stack
• Cloud offering
• Modern technology around solid Apache Lucene core (1999)
• Clients: Ruby, Python, PHP, Perl, .NET, Java, Javascript, etc
• Apache Lucene release 6.0.1, May 27, 2016
• Elasticsearch release 2.3.3, May 18th, 2016
• Oracle plans to replace Secure Enterprise Search with
ElasticSearch in WebCenter products (OOW 2015)
• Support / community group / meet-ups / training
9
Basic concepts
Supports: availability, scalability, distribution
Cluster
Document (JSON)
Index ABC Index ABC
Shard 1
Shard 2
Index ABC Index ABC
Replica Shard 1
Replica Shard 2
Distributeovernodes
10
Installation development set-up
Installation of Elasticsearch:
[developer@localhost bin]$ tar -xvf elasticsearch-2.3.2.tar.gz
[developer@localhost bin]$ pwd
/home/developer/elasticsearch/elasticsearch-2.3.2/bin
[developer@localhost bin]$ ./elasticsearch
Installation of Kibana (‘Analytics and visualization platform’):
[developer@localhost kibana]$ tar -xvf kibana-4.5.1-linux-
x64.tar.gz
[developer@localhost config]$ vi kibana.yml
[developer@localhost bin]$ pwd
/home/developer/kibana/kibana-4.5.1-linux-x64/bin
[developer@localhost bin]$ ./kibana
11
Use Case: tweets AMISnl
tweets
AMISnl
TwitterSupport
ScreenTweet
(Office Management)
CtoScreening
(CTO)
TweeterContacted
(telemarketeer)
MarketingScreening
(marketing)
Screen all tweets of AMISnl to see if action is required for the conference
12
Use case
Tweets:
733666488083750912
2016-05-20 14:31:36
RT @robbrecht: Orcas - Automatic deployment for the database https://t.co/4U6QSuROjf
@amisnl @OC_WIRE
733652455523811328
2016-05-20 13:35:50
RT @sai_penumuru: Learn something new from my session. #AMIS25 @oracleotn @oracleace
https://t.co/1gBagwgotD
733652388272312322
2016-05-20 13:35:34
RT @sai_penumuru: Join me on 2nd-3rd June 2016 for BEYOND THE HORIZON conference in
Netherlands. #AMIS25 @oracleace @oracleotn https://t.co…
7336219462906716202016-05-20 11:34:36
NEWSFLASH! The official #AMIS25 app is now available. Search for 'AMIS 25' in your app
store and enjoy! https://t.co/iYOEGG6l90
In total: 3212 tweets
13
Use Case result:
data in JSON format
Transform to JSON
<caseActivityDefinition>
<applicationName>default</applicationName>
<completedDate>2016-05-19T06:29:13.910+02:00</completedDate>
<componentName>TwitterSupport</componentName>
<compositeDn>default/TwitterSupport!1.0*soa_33331876-7da2-4ba6-b28d-fec89397281e</compositeDn>
<compositeName>TwitterSupport</compositeName>
<compositeVersion>1.0</compositeVersion>
<definitionId>default/TwitterSupport!1.0/CtoScreeningProcess</definitionId>
<displayName>CtoScreeningProcess</displayName>
{
"caseActivityDefinition": {
"caseId": "100036",
"completedDate": "2016-05-23T09:39:03.111+02:00",
"definitionId": "default/TwitterSupport!1.0/CtoScreeningProcess",
"displayName": "CtoScreeningProcess",
"instanceId": "116187",
"name": "CtoScreeningProcess",
"nameSpace": "http://xmlns.amis.nl/TwitterSupport/CtoScreeningProcess",
"startDate": "2016-05-23T09:19:08.111+02:00"
}
}
3212
tweets
Retrieve data from the ACM system with the
platform API. Retrieved data:
• CaseActivities
• CaseMileStones
• Comments
• CaseData
14
Insert data into ElasticSearch
Insert MileStone data into ElasticSearch archive:
curl -XPUT
'localhost:9200/casemilestones/external/1?pretty' -d '
{
"caseMilestone": {
"caseId": "103242",
"state": "ATTAINED",
"name": "TweetScreenedMilestone",
"updatedDate": "2016-05-25T10:27:34.111+02:00"
}
}
'
index
Milestone data in JSON
15
Results use case:
data into ElasticSearch
Totals - start:
[developer@localhost elasticsearch-2.3.2]$ curl 'localhost:9200/_cat/indices?v'
health status index pri rep docs.count docs.deleted store.size pri.store.size
yellow open caseactivities 5 1 0 0 650b 650b
yellow open casemilestones 5 1 0 0 260b 260b
yellow open casecomments 5 1 0 0 650b 650b
yellow open casedata 5 1 0 0 650b 650b
Totals - end:
[developer@localhost elasticsearch-2.3.2]$ curl 'localhost:9200/_cat/indices?v'
health status index pri rep docs.count docs.deleted store.size pri.store.size
yellow open caseactivities 5 1 3693 0 929.4kb 929.4kb
yellow open casemilestones 5 1 16060 0 1.5mb 1.5mb
yellow open casecomments 5 1 7207 0 685.1kb 685.1kb
yellow open casedata 5 1 16060 0 2.2mb 2.2mb
[developer@localhost elasticsearch-2.3.2]$
Timing :
# documents: 43020
Upload time: 9:57 min
Upload speed: ~72 docs / sec
16
Results use case:
sample search
[developer@localhost json]$ [developer@localhost ~]$ curl -XPOST 'localhost:9200/casedata/_search?pretty' -d '
> {
> "query": { "match": { "caseData.value": "Lucas"}},
> "_source": ["caseData.caseId", "caseData.value"]
> }
> '
{
"took" : 96,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 215,
"max_score" : 1.3943143,
"hits" : [ {
"_index" : "casedata",
"_type" : "external",
"_id" : "AVTZQ0eNjRs4lNcko-Qb",
"_score" : 1.3943143,
"_source" : {
"caseData" : {
"caseId" : "102701",
"value" : "Blog by Lucas Jellema: UX Expo 18th of March – OTN ArchBeat YouTube Video Interview:
Jeremy Ashley &amp; Lucas J... http://t.co/9GlLzTJ3U0"
}
}
}, {
"_index" : "casedata",
17
Kibana
Let’s start looking at the data with Kibana:
What can it add to the archive?
18
Kibana
Timeline for case activities
19
Searching with Kibana
20
Kibana dashboard
21
Office Documents
Especially for case management,
‘Office Documents’ are important.
Installation of plugin for indexing Office and PDF docs (Apache Tika):
[developer@localhost bin]$ pwd
/home/developer/elasticsearch/elasticsearch-2.3.2/bin
[developer@localhost bin]$ ./plugin install mapper-attachments
22
‘Office Documents’
Document formats:
• Supported Document Formats
• HyperText Markup Language
• XML and derived formats
• Microsoft Office document formats
• OpenDocument Format
• Portable Document Format
• Electronic Publication Format
• Rich Text Format
• Compression and packaging formats
• Text formats
• Audio formats
• Image formats
• Video formats
• Java class files and archives
• The mbox format
23
Results use case:
searching office documents
Insert documents base64 encoded … and search:
[developer@localhost ~]$ curl -POST
'localhost:9200/casedocuments/document/_search?pretty' -d '
> {
> "query": {
> "query_string": {
> "query": "+bonnetje +teeven" }},
> "_source": ["docName"]
> }
> '
{
"took" : 64,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 1,
"max_score" : 0.43479362,
"hits" : [ {
"_index" : "casedocuments",
"_type" : "document",
"_id" : "AVT4Siu7Ia99IOtnY-TF",
"_score" : 0.43479362,
"_source" : {
"docName" : "/doc/factuur.docx"
24
Use Case Results
• Mature, enterprise grade product
• Easy search, even ‘Office Documents’
• Basic analysis, more investigation required
• Careffully determine what info to put into elasticsearch
– Audit trail? TaskQueryService? Other info?
• It is schema-free: easy transitions between Oracle releases
• You will find the caseIdentifier and anything related to the caseIdentifier
• Not an easy overview of case history
25
Recommendation
Back to ‘the challenge’:
An ACM/BPM archive where we can
search through data
of cases/processes of up to 7 years old
Aspects:
- TCO: License Costs
- TCO: Yet another technology
- DB versus elasticsearch:
- Schema-less JSON data store
- No transactions
- Near-real-time
- Document Management System / doc types
- Logstash jdbc plugin
26

Contenu connexe

Tendances

Breathing New Life into Apache Oozie with Apache Ambari Workflow Manager
Breathing New Life into Apache Oozie with Apache Ambari Workflow ManagerBreathing New Life into Apache Oozie with Apache Ambari Workflow Manager
Breathing New Life into Apache Oozie with Apache Ambari Workflow Manager
DataWorks Summit
 
Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1
Kurt Liu
 

Tendances (20)

Breathing New Life into Apache Oozie with Apache Ambari Workflow Manager
Breathing New Life into Apache Oozie with Apache Ambari Workflow ManagerBreathing New Life into Apache Oozie with Apache Ambari Workflow Manager
Breathing New Life into Apache Oozie with Apache Ambari Workflow Manager
 
Oracle Ravello
Oracle Ravello Oracle Ravello
Oracle Ravello
 
Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1Oracle Ravello Presentation 7Dec16 v1
Oracle Ravello Presentation 7Dec16 v1
 
Oracle JET and ADF BC REST Production Experience with Oracle Java Cloud
Oracle JET and ADF BC REST Production Experience with Oracle Java CloudOracle JET and ADF BC REST Production Experience with Oracle Java Cloud
Oracle JET and ADF BC REST Production Experience with Oracle Java Cloud
 
What should I do now?! JCS for WebLogic Admins
What should I do now?! JCS for WebLogic AdminsWhat should I do now?! JCS for WebLogic Admins
What should I do now?! JCS for WebLogic Admins
 
Oracle GoldenGate
Oracle GoldenGate Oracle GoldenGate
Oracle GoldenGate
 
MV2ADB - Move to Oracle Autonomous Database in One-click
MV2ADB - Move to Oracle Autonomous Database in One-clickMV2ADB - Move to Oracle Autonomous Database in One-click
MV2ADB - Move to Oracle Autonomous Database in One-click
 
GoldenGate Monitoring - GOUSER - 4/2014
GoldenGate Monitoring - GOUSER - 4/2014GoldenGate Monitoring - GOUSER - 4/2014
GoldenGate Monitoring - GOUSER - 4/2014
 
Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3
Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3
Oracle OpenWorld - A quick take on all 22 press releases of Day #1 - #3
 
Cache-Aside Cloud Design Pattern
Cache-Aside Cloud Design PatternCache-Aside Cloud Design Pattern
Cache-Aside Cloud Design Pattern
 
SOA Suite 12c Customer implementation
SOA Suite 12c Customer implementationSOA Suite 12c Customer implementation
SOA Suite 12c Customer implementation
 
Securing oracle e-business suite 12.1 and 12.2 technology infrastructure
Securing oracle e-business suite 12.1 and 12.2 technology infrastructureSecuring oracle e-business suite 12.1 and 12.2 technology infrastructure
Securing oracle e-business suite 12.1 and 12.2 technology infrastructure
 
Machine learning services with SQL Server 2017
Machine learning services with SQL Server 2017Machine learning services with SQL Server 2017
Machine learning services with SQL Server 2017
 
Pragmatic CQRS with existing applications and databases (Digital Xchange, May...
Pragmatic CQRS with existing applications and databases (Digital Xchange, May...Pragmatic CQRS with existing applications and databases (Digital Xchange, May...
Pragmatic CQRS with existing applications and databases (Digital Xchange, May...
 
AMIS Oracle OpenWorld & CodeOne Review - Introduction & Overview (5 november ...
AMIS Oracle OpenWorld & CodeOne Review - Introduction & Overview (5 november ...AMIS Oracle OpenWorld & CodeOne Review - Introduction & Overview (5 november ...
AMIS Oracle OpenWorld & CodeOne Review - Introduction & Overview (5 november ...
 
Oracle application container cloud back end integration using node final
Oracle application container cloud back end integration using node finalOracle application container cloud back end integration using node final
Oracle application container cloud back end integration using node final
 
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
Oracle JavaScript Extension Toolkit Web Components Bring Agility to App Devel...
 
Oracle Enterprise Manager 12c: updates and upgrades.
Oracle Enterprise Manager 12c: updates and upgrades.Oracle Enterprise Manager 12c: updates and upgrades.
Oracle Enterprise Manager 12c: updates and upgrades.
 
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
Meetup Oracle Database: 3 Analizar, Aconsejar, Automatizar… las nuevas funcio...
 
Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics
 

Similaire à ACM BPM and elasticsearch AMIS25

Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with Solr
Erik Hatcher
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with Solr
Erik Hatcher
 
Buildingsocialanalyticstoolwithmongodb
BuildingsocialanalyticstoolwithmongodbBuildingsocialanalyticstoolwithmongodb
Buildingsocialanalyticstoolwithmongodb
MongoDB APAC
 
How ElasticSearch lives in my DevOps life
How ElasticSearch lives in my DevOps lifeHow ElasticSearch lives in my DevOps life
How ElasticSearch lives in my DevOps life
琛琳 饶
 

Similaire à ACM BPM and elasticsearch AMIS25 (20)

Semantic technologies in practice - KULeuven 2016
Semantic technologies in practice - KULeuven 2016Semantic technologies in practice - KULeuven 2016
Semantic technologies in practice - KULeuven 2016
 
Building APIs in an easy way using API Platform
Building APIs in an easy way using API PlatformBuilding APIs in an easy way using API Platform
Building APIs in an easy way using API Platform
 
Introduction to Elasticsearch with basics of Lucene
Introduction to Elasticsearch with basics of LuceneIntroduction to Elasticsearch with basics of Lucene
Introduction to Elasticsearch with basics of Lucene
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with Solr
 
Introduction to Elasticsearch
Introduction to ElasticsearchIntroduction to Elasticsearch
Introduction to Elasticsearch
 
Everything-as-code – Polyglotte Entwicklung in der Praxis
Everything-as-code – Polyglotte Entwicklung in der PraxisEverything-as-code – Polyglotte Entwicklung in der Praxis
Everything-as-code – Polyglotte Entwicklung in der Praxis
 
PuppetDB: A Single Source for Storing Your Puppet Data - PUG NY
PuppetDB: A Single Source for Storing Your Puppet Data - PUG NYPuppetDB: A Single Source for Storing Your Puppet Data - PUG NY
PuppetDB: A Single Source for Storing Your Puppet Data - PUG NY
 
Introduction to Azure DocumentDB
Introduction to Azure DocumentDBIntroduction to Azure DocumentDB
Introduction to Azure DocumentDB
 
Software Supply Chains for DevOps @ InfoQ Live 2021
Software Supply Chains for DevOps @ InfoQ Live 2021Software Supply Chains for DevOps @ InfoQ Live 2021
Software Supply Chains for DevOps @ InfoQ Live 2021
 
Enterprise Data Science
Enterprise Data ScienceEnterprise Data Science
Enterprise Data Science
 
Rapid Prototyping with Solr
Rapid Prototyping with SolrRapid Prototyping with Solr
Rapid Prototyping with Solr
 
Buildingsocialanalyticstoolwithmongodb
BuildingsocialanalyticstoolwithmongodbBuildingsocialanalyticstoolwithmongodb
Buildingsocialanalyticstoolwithmongodb
 
HDInsight Interactive Query
HDInsight Interactive QueryHDInsight Interactive Query
HDInsight Interactive Query
 
Database@Home - Data Driven : Loading, Indexing, and Searching with Text and ...
Database@Home - Data Driven : Loading, Indexing, and Searching with Text and ...Database@Home - Data Driven : Loading, Indexing, and Searching with Text and ...
Database@Home - Data Driven : Loading, Indexing, and Searching with Text and ...
 
Splunk Ninjas: New Features, Pivot, and Search Dojo
Splunk Ninjas: New Features, Pivot, and Search DojoSplunk Ninjas: New Features, Pivot, and Search Dojo
Splunk Ninjas: New Features, Pivot, and Search Dojo
 
Elastic Search
Elastic SearchElastic Search
Elastic Search
 
Data Science
Data ScienceData Science
Data Science
 
Webinar: The Anatomy of the Cloudant Data Layer
Webinar: The Anatomy of the Cloudant Data LayerWebinar: The Anatomy of the Cloudant Data Layer
Webinar: The Anatomy of the Cloudant Data Layer
 
How ElasticSearch lives in my DevOps life
How ElasticSearch lives in my DevOps lifeHow ElasticSearch lives in my DevOps life
How ElasticSearch lives in my DevOps life
 

Plus de Getting value from IoT, Integration and Data Analytics

Plus de Getting value from IoT, Integration and Data Analytics (20)

AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
AMIS Oracle OpenWorld en Code One Review 2018 - Blockchain, Integration, Serv...
 
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: Custom Application ...
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: Custom Application ...AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: Custom Application ...
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: Custom Application ...
 
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaSAMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 2: SaaS
 
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Data
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: DataAMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Data
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Data
 
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Cloud Infrastructure
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Cloud Infrastructure AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Cloud Infrastructure
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Cloud Infrastructure
 
10 tips voor verbetering in je Linkedin profiel
10 tips voor verbetering in je Linkedin profiel10 tips voor verbetering in je Linkedin profiel
10 tips voor verbetering in je Linkedin profiel
 
Iot in de zorg the next step - fit for purpose
Iot in de zorg   the next step - fit for purpose Iot in de zorg   the next step - fit for purpose
Iot in de zorg the next step - fit for purpose
 
Iot overview .. Best practices and lessons learned by Conclusion Conenct
Iot overview .. Best practices and lessons learned by Conclusion Conenct Iot overview .. Best practices and lessons learned by Conclusion Conenct
Iot overview .. Best practices and lessons learned by Conclusion Conenct
 
IoT Fit for purpose - how to be successful in IOT Conclusion Connect
IoT Fit for purpose - how to be successful in IOT Conclusion Connect IoT Fit for purpose - how to be successful in IOT Conclusion Connect
IoT Fit for purpose - how to be successful in IOT Conclusion Connect
 
Industry and IOT Overview of protocols and best practices Conclusion Connect
Industry and IOT Overview of protocols and best practices  Conclusion ConnectIndustry and IOT Overview of protocols and best practices  Conclusion Connect
Industry and IOT Overview of protocols and best practices Conclusion Connect
 
IoT practical case using the people counter sensing traffic density build usi...
IoT practical case using the people counter sensing traffic density build usi...IoT practical case using the people counter sensing traffic density build usi...
IoT practical case using the people counter sensing traffic density build usi...
 
R introduction decision_trees
R introduction decision_treesR introduction decision_trees
R introduction decision_trees
 
Introduction overviewmachinelearning sig Door Lucas Jellema
Introduction overviewmachinelearning sig Door Lucas JellemaIntroduction overviewmachinelearning sig Door Lucas Jellema
Introduction overviewmachinelearning sig Door Lucas Jellema
 
IoT and the Future of work
IoT and the Future of work IoT and the Future of work
IoT and the Future of work
 
Oracle OpenWorld 2017 Review (31st October 2017 - 250 slides)
Oracle OpenWorld 2017 Review (31st October 2017 - 250 slides)Oracle OpenWorld 2017 Review (31st October 2017 - 250 slides)
Oracle OpenWorld 2017 Review (31st October 2017 - 250 slides)
 
Ethereum smart contracts - door Peter Reitsma
Ethereum smart contracts - door Peter ReitsmaEthereum smart contracts - door Peter Reitsma
Ethereum smart contracts - door Peter Reitsma
 
Blockchain - Techniek en usecases door Robert van Molken - AMIS - Conclusion
Blockchain - Techniek en usecases door Robert van Molken - AMIS - ConclusionBlockchain - Techniek en usecases door Robert van Molken - AMIS - Conclusion
Blockchain - Techniek en usecases door Robert van Molken - AMIS - Conclusion
 
kennissessie blockchain - Wat is Blockchain en smart contracts @Conclusion
kennissessie blockchain -  Wat is Blockchain en smart contracts @Conclusion kennissessie blockchain -  Wat is Blockchain en smart contracts @Conclusion
kennissessie blockchain - Wat is Blockchain en smart contracts @Conclusion
 
Internet of Things propositie - Enterprise IOT - AMIS - Conclusion
Internet of Things propositie - Enterprise IOT - AMIS - Conclusion Internet of Things propositie - Enterprise IOT - AMIS - Conclusion
Internet of Things propositie - Enterprise IOT - AMIS - Conclusion
 
Omc AMIS evenement 26012017 Dennis van Soest
Omc AMIS evenement 26012017 Dennis van SoestOmc AMIS evenement 26012017 Dennis van Soest
Omc AMIS evenement 26012017 Dennis van Soest
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 

ACM BPM and elasticsearch AMIS25

  • 1. Search and Find Luc Gorissen ACM/BPM and Elastic Search
  • 2. Luc Gorissen Previous employers: - KPN Research - CMG Wireless Data Solutions - OraVision - Oracle Focus: - BPM and SOA Suite luc.gorissen@amis.nl +31 6 3622 4226 @LucGorissen No, no, no LinkedIn
  • 3. The Challenge Starting Point: Our ACM/BPM implementation supports successfully our core business processes Requirement: We need to be able to search through case/process data of the last 7 year We need: An ACM/BPM archive where we can search through data of cases/processes of up to 7 years old
  • 4. The Technology Company: Product: Promise: Can it be done? ... a highly scalable open-source full-text search and analytics engine. It allows you to store, search, and analyze big volumes of data quickly and in near real time.
  • 5. 5 Topics Use Case Data Use Case Evaluation Use CaseElastic Product Stack Basic Concepts 31 2 4 5 Recommendation 6
  • 6. 6 Elastic Product Stack ... a highly scalable open-source full-text search and analytics engine. It allows you to store, search, and analyze big volumes of data quickly and in near real time. • Full-Text Search • Document-Oriented • Near-Real-Time • Horizontally Scalable • Multi Tenant • Schema-Free • REST-API • Open Source – Apache 2 license • On top of Apache Lucene • REST/JSON Features
  • 7. 7 Elastic Product Stack Product Description Elasticsearch Search engine Elastic Cloud Elasticsearch Cloud offering Logstash Data collection engine Kibana Analytics and visualization platform Beats Collect data (network, infra, file, winlog) and ship Shield Protect access to your data Watcher Alerts/notifications from changes in your data Marvel Monitor your Elasticsearch cluster
  • 8. 8 Elastic Product Stack Maturity • Complete product stack • Cloud offering • Modern technology around solid Apache Lucene core (1999) • Clients: Ruby, Python, PHP, Perl, .NET, Java, Javascript, etc • Apache Lucene release 6.0.1, May 27, 2016 • Elasticsearch release 2.3.3, May 18th, 2016 • Oracle plans to replace Secure Enterprise Search with ElasticSearch in WebCenter products (OOW 2015) • Support / community group / meet-ups / training
  • 9. 9 Basic concepts Supports: availability, scalability, distribution Cluster Document (JSON) Index ABC Index ABC Shard 1 Shard 2 Index ABC Index ABC Replica Shard 1 Replica Shard 2 Distributeovernodes
  • 10. 10 Installation development set-up Installation of Elasticsearch: [developer@localhost bin]$ tar -xvf elasticsearch-2.3.2.tar.gz [developer@localhost bin]$ pwd /home/developer/elasticsearch/elasticsearch-2.3.2/bin [developer@localhost bin]$ ./elasticsearch Installation of Kibana (‘Analytics and visualization platform’): [developer@localhost kibana]$ tar -xvf kibana-4.5.1-linux- x64.tar.gz [developer@localhost config]$ vi kibana.yml [developer@localhost bin]$ pwd /home/developer/kibana/kibana-4.5.1-linux-x64/bin [developer@localhost bin]$ ./kibana
  • 11. 11 Use Case: tweets AMISnl tweets AMISnl TwitterSupport ScreenTweet (Office Management) CtoScreening (CTO) TweeterContacted (telemarketeer) MarketingScreening (marketing) Screen all tweets of AMISnl to see if action is required for the conference
  • 12. 12 Use case Tweets: 733666488083750912 2016-05-20 14:31:36 RT @robbrecht: Orcas - Automatic deployment for the database https://t.co/4U6QSuROjf @amisnl @OC_WIRE 733652455523811328 2016-05-20 13:35:50 RT @sai_penumuru: Learn something new from my session. #AMIS25 @oracleotn @oracleace https://t.co/1gBagwgotD 733652388272312322 2016-05-20 13:35:34 RT @sai_penumuru: Join me on 2nd-3rd June 2016 for BEYOND THE HORIZON conference in Netherlands. #AMIS25 @oracleace @oracleotn https://t.co… 7336219462906716202016-05-20 11:34:36 NEWSFLASH! The official #AMIS25 app is now available. Search for 'AMIS 25' in your app store and enjoy! https://t.co/iYOEGG6l90 In total: 3212 tweets
  • 13. 13 Use Case result: data in JSON format Transform to JSON <caseActivityDefinition> <applicationName>default</applicationName> <completedDate>2016-05-19T06:29:13.910+02:00</completedDate> <componentName>TwitterSupport</componentName> <compositeDn>default/TwitterSupport!1.0*soa_33331876-7da2-4ba6-b28d-fec89397281e</compositeDn> <compositeName>TwitterSupport</compositeName> <compositeVersion>1.0</compositeVersion> <definitionId>default/TwitterSupport!1.0/CtoScreeningProcess</definitionId> <displayName>CtoScreeningProcess</displayName> { "caseActivityDefinition": { "caseId": "100036", "completedDate": "2016-05-23T09:39:03.111+02:00", "definitionId": "default/TwitterSupport!1.0/CtoScreeningProcess", "displayName": "CtoScreeningProcess", "instanceId": "116187", "name": "CtoScreeningProcess", "nameSpace": "http://xmlns.amis.nl/TwitterSupport/CtoScreeningProcess", "startDate": "2016-05-23T09:19:08.111+02:00" } } 3212 tweets Retrieve data from the ACM system with the platform API. Retrieved data: • CaseActivities • CaseMileStones • Comments • CaseData
  • 14. 14 Insert data into ElasticSearch Insert MileStone data into ElasticSearch archive: curl -XPUT 'localhost:9200/casemilestones/external/1?pretty' -d ' { "caseMilestone": { "caseId": "103242", "state": "ATTAINED", "name": "TweetScreenedMilestone", "updatedDate": "2016-05-25T10:27:34.111+02:00" } } ' index Milestone data in JSON
  • 15. 15 Results use case: data into ElasticSearch Totals - start: [developer@localhost elasticsearch-2.3.2]$ curl 'localhost:9200/_cat/indices?v' health status index pri rep docs.count docs.deleted store.size pri.store.size yellow open caseactivities 5 1 0 0 650b 650b yellow open casemilestones 5 1 0 0 260b 260b yellow open casecomments 5 1 0 0 650b 650b yellow open casedata 5 1 0 0 650b 650b Totals - end: [developer@localhost elasticsearch-2.3.2]$ curl 'localhost:9200/_cat/indices?v' health status index pri rep docs.count docs.deleted store.size pri.store.size yellow open caseactivities 5 1 3693 0 929.4kb 929.4kb yellow open casemilestones 5 1 16060 0 1.5mb 1.5mb yellow open casecomments 5 1 7207 0 685.1kb 685.1kb yellow open casedata 5 1 16060 0 2.2mb 2.2mb [developer@localhost elasticsearch-2.3.2]$ Timing : # documents: 43020 Upload time: 9:57 min Upload speed: ~72 docs / sec
  • 16. 16 Results use case: sample search [developer@localhost json]$ [developer@localhost ~]$ curl -XPOST 'localhost:9200/casedata/_search?pretty' -d ' > { > "query": { "match": { "caseData.value": "Lucas"}}, > "_source": ["caseData.caseId", "caseData.value"] > } > ' { "took" : 96, "timed_out" : false, "_shards" : { "total" : 5, "successful" : 5, "failed" : 0 }, "hits" : { "total" : 215, "max_score" : 1.3943143, "hits" : [ { "_index" : "casedata", "_type" : "external", "_id" : "AVTZQ0eNjRs4lNcko-Qb", "_score" : 1.3943143, "_source" : { "caseData" : { "caseId" : "102701", "value" : "Blog by Lucas Jellema: UX Expo 18th of March – OTN ArchBeat YouTube Video Interview: Jeremy Ashley &amp; Lucas J... http://t.co/9GlLzTJ3U0" } } }, { "_index" : "casedata",
  • 17. 17 Kibana Let’s start looking at the data with Kibana: What can it add to the archive?
  • 21. 21 Office Documents Especially for case management, ‘Office Documents’ are important. Installation of plugin for indexing Office and PDF docs (Apache Tika): [developer@localhost bin]$ pwd /home/developer/elasticsearch/elasticsearch-2.3.2/bin [developer@localhost bin]$ ./plugin install mapper-attachments
  • 22. 22 ‘Office Documents’ Document formats: • Supported Document Formats • HyperText Markup Language • XML and derived formats • Microsoft Office document formats • OpenDocument Format • Portable Document Format • Electronic Publication Format • Rich Text Format • Compression and packaging formats • Text formats • Audio formats • Image formats • Video formats • Java class files and archives • The mbox format
  • 23. 23 Results use case: searching office documents Insert documents base64 encoded … and search: [developer@localhost ~]$ curl -POST 'localhost:9200/casedocuments/document/_search?pretty' -d ' > { > "query": { > "query_string": { > "query": "+bonnetje +teeven" }}, > "_source": ["docName"] > } > ' { "took" : 64, "timed_out" : false, "_shards" : { "total" : 5, "successful" : 5, "failed" : 0 }, "hits" : { "total" : 1, "max_score" : 0.43479362, "hits" : [ { "_index" : "casedocuments", "_type" : "document", "_id" : "AVT4Siu7Ia99IOtnY-TF", "_score" : 0.43479362, "_source" : { "docName" : "/doc/factuur.docx"
  • 24. 24 Use Case Results • Mature, enterprise grade product • Easy search, even ‘Office Documents’ • Basic analysis, more investigation required • Careffully determine what info to put into elasticsearch – Audit trail? TaskQueryService? Other info? • It is schema-free: easy transitions between Oracle releases • You will find the caseIdentifier and anything related to the caseIdentifier • Not an easy overview of case history
  • 25. 25 Recommendation Back to ‘the challenge’: An ACM/BPM archive where we can search through data of cases/processes of up to 7 years old Aspects: - TCO: License Costs - TCO: Yet another technology - DB versus elasticsearch: - Schema-less JSON data store - No transactions - Near-real-time - Document Management System / doc types - Logstash jdbc plugin
  • 26. 26