ES-based relational databases and search engines, multi-source ten billion, big data data analysis program

background:

With the rapid development and expansion of the company's business, servers and various applications will increase, while the application system, server stability, sustainability put forward higher requirements, the company hopes to build a comprehensive set of analysis and monitoring system to provide decision support for the various parts.

issues that need resolving:

(1) data island issues, data dispersed among different business systems;

(2) server log information about how to effectively collect and store;

(3) business analysis needs is not fixed, it is often put forward new demands, how to meet the needs of various departments;

(4) How quickly erected visual analysis system based on multi-source above problems;

Technology selection and overall architecture:

8d73d7d3-1991-43f1-a7e8-dbf740669344

Program: traffic data ETL, based on the number of bins architecture pattern

3c87a0c1-d10b-406d-bd30-272fa1fd86b8

Option II: using direct mode data

(1) acquired by the log collection primarily logstash, and then stored in the search engine;

(2) business system data can use two solutions architecture The first is the construction of several positions, will bring together data to several different bins; second: by way of direct direct docking platform for big data analysis;

(3) visualization of large data were analyzed using analysis of NBI large data visualization platform, multi-source data analysis can be achieved, is well supported elasticsearch, relational database, data access large data storage platform; drag type highly flexible and layout mode, you can quickly build all kinds of visual analysis applications; through access control, editing and set access rights, protect the security of corporate data assets effective use;

(4) final by NBI large data visualization analysis platform to build various types of data analysis applications, the output to the corresponding department personnel.

Precautions:

(1) Elasticsearch need to install a plug-sql elasticsearch-sql, according es corresponding version downloaded widget, do facilitate interactive analysis;

(2) NBI big data platform, currently modeling Elasticsearch support for SQL modeling

Steps:

(1) in the data platform NBI large by the data management module is added Elasticsearch data source;

30605a2f-0179-4506-b337-94f4a25e0167

Data source connection

(2) test the connection, whether the test can be connected to normal Elasticsearch

f367e0c3-601f-4564-aaed-88f2ecb9bf09

Connection Test

(3) successful connection, through the establishment of SQL worksheet model

cfaca5f2-1205-41b5-8cf1-e50a26cf9014

Create a data worksheet model

(4) build data reports:

c4277735-4b65-4f46-959c-4006eabceff9

Visualization Report Builder

(5) set access rights:

1d66716775774db5b016df06031e8a22

Permission settings

The above case by NBI large data visualization tools (nbi.easydatavis.com:8033) completed

Guess you like

Origin blog.51cto.com/14465598/2432875