Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Machbase Web Analytics (MWA) is a Web application developed with Python 2.7과 Flask기반의 Werkzeug, Jinja2로 개발된 Web application이다7 and Flask-based Werkzeug and Jinja2.

Configuration

MWA는 5001포트를 이용하여 클라이언트와 통신을 수행한다. 해당 포트를 사용할 수 있는지 확인하려면, linux 운영체제는 iptables 명령을 이용하고, windows는 방화벽 설정을 참조하여 통신 문제를 해결해야 한다.

추가로, The MWA uses the 5001 port to communicate with the client. To verify that the port is available, the linux operating system should use the iptables command and windows should consult the firewall settings to resolve the communication problem.
In addition, you must add the $MACHBASE_HOME/lib 폴더를 folder to $LD_LIBRARY_PATH에 추가하고 PATH and make sure that the libmachbasecli_dll.so 파일이 그 폴더내에 있는지 확인해야 한다 file is in that folder.

How to

...

Run the Server

MWA 서버는 $MACHBASEThe MWA server is executed using the $ MACHBASE_HOME/bin/MWAserver 스크립트 파일을 이용해 실행한다. 이 스크립트는 $MACHBASE_HOME 환경변수를 이용하므로 해당 환경 변수를 반드시 설정해야 한다. 이 스크립트는 script file. This script uses $ MACHBASE_HOME environment variable, so you must set the environment variable. This script supports the START, STOP, RESTART, RESET, and PORT 명령 옵션을 지원한다. command options. You can run the server with the 'MWAserver start' 명령으로 서버를 실행할 수 있다. port 명령 옵션을 이용하면 MWAserver가 이용하는 기본 포트 번호인 5001이 아닌 다른 포트를 이용하여 MWA가 동작하도록 설정할 수 있다command. The port command option allows you to configure the MWA to work using a port other than the default port number 5001 used by the MWAserver.

Example:

Code Block
[mach@localhost ]$./MWAserver port 1234
WEBSERVER PORT CHANGED : 1234

...

List of commands

Code Block
[mach@localhost flask]$./MWAserver help
List of commands:
  * MWAserver start; Startup WebServer
  * MWAserver restart; Restart WebServer
  * MWAserver stop; Shutdown WebServer
  * MWAserver reset; Reset WebServer database
  * MWAserver port NUMBER; Change WebServer port.

Connect to MWA with Web Browser

웹 브라우저를 통해서 MWA 서버 IP와 포트 번호(예 You can connect to the MWA by entering the MWA server IP and port number (ex: http: 127.0.0.1: 5001) 를 입력하여 MWA에 접속할 수 있다. 웹 브라우저로는 최신 크롬 브라우저를 추천한다. 접속에 성공하였다면, 로그인 화면이 표시될 것이다. 기본 로그인 계정과 패스워드는 through your web browser. We recommend the latest Chrome browser as a web browser. If the connection is successful, the login screen will be displayed. The default login and password are "admin"/"machbase"이다.

.

How to Use MWA

MWA 의 주 메뉴는 The main menus of MWA are Dashboard, Query, Collection, DB Admin, and Preferences 이다.

Overview

사용자 인증

MWA에는 ADMIN과 USER의 두 가지 종류의 사용자가 있다. ADMIN 사용자 계정은 모든 메뉴와 기능을 사용할 수 있고, USER 계정은 ADMIN 사용자가 허가한 기능만 사용할 수 있다.

Group 

사용자 권한부여 및 설정을 쉽게 하기 위해서 여러 사용자들을 그룹을 설정할 수 있다. 화면의 좌측 위에서 원하는 그룹 카테고리를 선택할 수 있다. 그룹 카테고리는 "Users"메뉴의 "Available Groups" 메뉴에서 설정할 수 있다. ADMIN 계정 사용자는 모든 권한을 갖는다. ADMIN 계정 사용자만 그룹을 등록할 수 있다.

Permission 

저장된 Bookmark 질의, 그리드, 대시보드등의 리소스에 대한 권한을 설정한다. 권한은 ALL, USER, OWNER 세 가지이다. 

ALL : 모든 사용자는 로그인하지 않고 리소스에 접근 가능하다.

USER : 로그인 한 사용자만 리소스에 접근할 수 있다.

OWNER : 그 리소스를 생성한 사용자만 접근할 수 있다.

리소스 생성자가 아니면 ADMIN 권한을 갖는 사용자만 권한 없이 변경할 수 있다.

Change a Server

화면 오른쪽 구석에서 등록한 서버목록을 볼 수 있고, 선택에 따라 다른 서버로 접속할 수 있다. 서버의 IP주소와 포트번호를 이용하여 접속 서버를 확인할 수 있다.

Dashboard

MWA는 질의 결과를 Grid, 차트로 나타내고 이 결과를 대시보드 형태로 표시하는 기능이 있다. 대시보드를 생성하려면 먼저 그리드, 차트를 생성하여 등록하고, 대시보드를 생성하여 등록된 차트, 그리드등을 원하는 형태로 배치하고, 대시보드를 등록하는 것이다. 대시보드를 한번 등록하면 원본 그리드, 차트를 변경하더라도 그 대시보드에 등록된 차트, 그리드는 변경되지 않는다.

사용자는 오른쪽의 대시보드와 관련된 정보를 생성하고, 변경하고, 삭제하거나 선택할 수 있다. 그리고 대시보드에 외부 url을 우하단의 "Link URL"항목에 입력하여 대시보드에 외부 페이지를 입력할 수 있다. 사용자마다 권한여부에 따라 표시될 수 있는 대시보드 항목이 다르게 돌 수 있으므로, 로그인하지 않아도 데이터를 표출하려면 권한을 ALL로 설정해야 한다.

Dashboard 생성 및 편집

대시보드를 생성하고 차트나 그리드등을 추가하기 위해서 대시보드 편집화면에서 "Row+"버튼을 이용하여 row를 생성하고, "Row-"버튼을 이용하여 아래쪽부터 row를 삭제할 수 있다. Row에 패널을 생성했다면 그 패널을 삭제한 이후에 삭제할 수 있다. User Authentication

There are two types of users in MWA: ADMIN and USER. The ADMIN user account can use all menus and functions, and the USER account can only use functions authorized by the ADMIN user.

Group 

To facilitate user authorization and configuration, multiple users can be grouped. You can select the desired group category in the upper left of the screen. Group categories can be set in the "Available Groups" menu of the "Users" menu. The ADMIN account user has full control. Only ADMIN account users can register groups.

Permission 

Set permissions for resources such as saved bookmark queries, grids, and dashboards. There are three permissions: ALL, USER, and OWNER. 

ALL: All users can access the resource without logging in.

USER: Only the logged in user can access the resource.

OWNER: Only the user who created the resource can access it.

Only a user with ADMIN authority can change without permission unless it is a resource creator.

Changing Server

You can see the list of registered servers in the right corner of the screen, and you can connect to another server according to your selection. The server list shows only the servers that are running normally. You can check the connection server by using the IP address and port number of the server.

Dashboard

MWA has the ability to display query results as grid and charts and to display the results in a dashboard form. To create a dashboard, you first create and register a grid, a chart, create a dashboard, place the charts and grids you want, and register your dashboard. Once you register a dashboard, you can change the original grid or chart, but the charts and grids registered on that dashboard will not change.

The user can create, change, delete or select information associated with the dashboard on the right. You can enter an external page in the dashboard by typing the external url in the "Link URL" field at the bottom right of the dashboard. Each user may have different dashboard entries that can be displayed depending on their permissions, so you need to set the permissions to ALL to display the data without logging in.


Creating and Editing Dashboard

To create a dashboard and add a chart or grid, you can create a row using the "Row +" button on the dashboard editing screen, and delete the row from the bottom using the "Row-" button. If you have created a panel in a row, you can delete the row after deleting the panel. You can add panels to the row using Chart +, Grid +, HTML +, and URL + 버튼을 이용하여 row에 패널을 추가할 수 있다. 패널의 내용으로 저장해 둔 차트나 그리드를 선택할 수 있다. 단, 사용자로부터 입력을 받는 입력 매개변수를 갖는 차트와 그리드는 패널에 등록할 수 없다.

HTML+  버튼을 이용하여 HTML 또는 자바스크립트, chart.js를 이용하는 jquery 데이터를 표시할 수 있다. ID 애트리뷰트를 설정했다면, 다른 대시보드 구성요소와 동일한 값이 설정될 수 있으므로, ID를 "_ID"로 지정하여 사용하면 된다.

URL을 이용하여 접근할 때에는 buttons. You can select the chart or grid you have saved as the contents of the panel. However, charts and grids with input parameters that receive input from the user can not be registered in the panel.

HTML + buttons can be used to display HTML or JavaScript, jquery data using chart.js. If you set the ID attribute, it can be set to the same value as another dashboard component, so you can specify the ID as "_ID".

Caution should be used when accessing URLs because they may not be accessible according to the value of 'X-Frame-Options' 값에 따라 접근할 수 없는 경우가 있으므로 주의해야 한다. 데쉬보드의 각 패널은 각각 리프래쉬 설정을 할 수 있다. Each panel in the dashboard can be set to refresh.


Chart

SQL질의를 그래프로 표시할 수 있다. Chart의 Result탭에서 질의결과를 확인할 수 있고 Setting tab에서 차트 표시에 관련한 파라메터를 설정할 수 있으며, 결과로 표시되는 차트는 Chart 탭에서 확인할 수 있다.

MWA는 시계열 차트를 쉽게 생성할 수 있는 "Builder"를 제공한다. 사용자는 집계할 시간 간격을 설정할 수 있고, X축과 Y축에 해당되는 데이터를 설정할 수 있다. Y축 값이 숫자인 경우, SUM 또는 AVERAGE와 같은 함수를 사용할 수 있다. 숫자가 아닌 경우, 레코드 카운트를 이용하여 표시할 수 있다. 시계열 그래프를 생성하면 기본으로 라인 차트를 생성한다. 기본 설정은 Setting 탭에서 변경할 수 있다. 차트 화면의 아래쪽에 그리드를 표시하려면 Config 버튼을 클릭하고 원하는 컬럼을 Columns탭에서 선택한다. 컬럼 데이터를 그리드에 표시할 때 좌우 폭은 비율에 따라 설정된다. 예를 들어 Width에 1, 2, 1의 값을 주면 화면 표시 비율은 25%, 50%, 25%의 순으로 설정된다.

질의문을 실행할 때, 입력 매개변수를 설정할 수 있다. 입력매개변수는 Variables 탭에서 Config 버튼으로 등록해야 한다. 매개변수의 type은 TextSQL queries can be displayed as graphs. You can check the query results in the Result tab of the chart, and set the parameters related to the chart display in the Setting tab, and the resulting chart can be found in the Chart tab.

MWA provides a "builder" to easily generate time series charts. The user can set the time interval to be aggregated, and can set data corresponding to the X and Y axes. If the Y axis value is a number, you can use a function such as SUM or AVERAGE. If it is not a number, it can be displayed using the record count. When you create a time series graph, you create a line chart by default. The default settings can be changed on the Setting tab. To display the grid at the bottom of the chart screen, click the Config button and select the desired column from the Columns tab. When column data is displayed on the grid, the left and right widths are set according to the ratio. For example, if Width is set to 1, 2,1, the screen display ratio is set to 25%, 50%, and 25%.

When executing a query, you can set the input parameters. Input parameters must be registered as Config button in the Variables tab. The type of the parameter can be text, number, date, time, datetime, 및 select query를 선택할 수 있다.질의문에서 매개변수의 이름은 {} 문자로 둘러싸서 기술한다. 질의가 실행될 때, 매개변수는 사용자가 입력한 값으로 치환된다. 단순히 치환하므로 문자열을 사용할 경우 따옴표를 이용해야 한다. SELECT문의 경우 옵션에서 ',' 문자를 이용하여 분리해야 한다and select query.

In the query statement, the name of the parameter is enclosed in the {} character. When the query is executed, the parameter is replaced with the value entered by the user. Quotation marks should be used when using strings because they are simply replaced. For SELECT statements, you must separate them with the ',' character in the option.


Code Block
e.g.: SELECT * FROM TEST_TABLE WHERE C3 = '{V3}'

Preview 버튼으로 차트 설정을 저장하지 않고 차트 데이터를 표시할 수 있다. View 탭에서 Output 버튼으로 결과값을 The Preview button allows you to display chart data without saving the chart settings. You can save the results as Excel, JSON, csv, TDE(or Tableau data extract ) 타입의 파일로 저장할 수 있다(TDE) files with the Output button on the View tab.

Grid
질의 결과를 테이블 형태로 표시하기 위해서 Grid를 사용한다. 질의 결과에서 필요하지 않은 컬럼을 제외하고 표시할 수도 있다. Builder 버튼을 이용하여 WHERE절을 작성하는데 도움을 받을 수 있다. 단, 이 기능은 단순 조건절만을 지원한다. 결과 데이터에서 특정 컬럼만을 선택하려면 Config 버튼을 클릭하여 Columns 탭에서 "+"버튼을 클릭한 후, 타이틀과 출력 너비 설정을 하고 사용할 수 있다.

Column width는 chart의 grid 설정에서 설명한 것처럼 백분율 비율로 처리된다. 질의 매개변수 설정 또한 Chart와 같은 기능을 수행한다. Output에서 질의 결과를 다양한 파일로 저장할 수 있는 점도 차트와 동일한 기능이다.

Query

SQL

질의를 수행하여 결과를 표시한다. LIMIT또는 DURATION 관련 설정이 오른쪽 패널에 표시된다.

질의문을 저장해 두고 재실행할 수 있다. 또한 실행한 질의문들을 히스토리창에서 불러 올 수 있다. 질의 실행창에서 결과를 그리드나 차트 화면으로 전환할 수 있다. 북마크된 질의는 "Bookmark Quries" 메뉴에서 확인할 수 있다.

"Tables"탭에서 생성한 테이블 리스트와 각 테이블 스키마를 확인할 수 있다. 테이블 명을 클릭하면 그 테이블의 일부 데이터가 표시된다. 질의를 매 5초마다 재실행하여 결과를 리프레쉬한다. "Results"탭에서 질의 결과를 확인할 수 있다.  
Use the Grid to display the query results in a table format. You can also display columns that you do not need in the query results. You can use the Builder button to help you create a WHERE clause. However, this function supports only simple conditional statements. To select only specific columns in the result data, click on the Config button, click the "+" button in the Columns tab, and set the title and output width.

The column width is treated as a percentage rate as described in the chart's grid settings. Query parameter setting also performs the same function as Chart. The same function as the chart is also available to save query results in various files in Output.

Query

SQL

Performs the query to display the results. LIMIT or DURATION related settings are displayed in the right panel.

The query can be saved and replayed. You can also invoke the executed queries from the history window. In the query execution window, you can switch the results to a grid or chart screen. The bookmarked query can be found in the "Bookmark Queries" menu.

You can see the list of tables created in the "Tables" tab and the schema of each table. Clicking on a table name displays some data from that table. Rerun the query every 5 seconds and refresh the results. You can see the query results in the "Results" tab. If the "Input selected text at cursor position" 체크박스를 선택한 경우, 클릭한 위치의 문자열이 질의 입력창에 자동으로 입력된다. Grid 또는 Chart와 같은 방법으로 질의 결과를 다양한 포맷의 파일에 저장할 수 있다.

Table Explorer 

테이블 탐색자는 테이블 데이터의 입력 상항을 표시한다. 입력한 시간에 의해 데이터 입력 수의 합계를 구하고, 이를 그래프 형태로 표시한다. 그래프에서 일정 영역을 drag로 선택하면 그 기간 동안의 입력 레코드의 수를 볼 수 있다.

화면의 오른쪽 상단 부분에 Zoom mode(시간 범위 조정을 위해서 사용)의 ON/OFF버튼이 있다.

Bookmark Queries

SQL 화면에서 실행 후 북마크한 질의문의 관리 화면이다. 질의문 리스트를 클릭하면, 질의문의 상세 내역을 확인할 수 있다. 또한 "to SQL" 버튼을 이용하여 SQL 화면으로 전환할 수 있다.

Collection

Data Collection 

마크베이스 서버에 등록된 collector manager와 collecotor 리스트가 트리 형태로 표시된다.

템플릿 파일(.tpl), 정규 표현식 파일(.rgx) 과 전처리 스크립트 파일(.py)은 MACHBASE_HOME 경로를 기준으로 다음의 경로에 위치해야 한다.

...

check box is selected, the character string at the clicked position is automatically entered in the query input window. You can save query results to files in various formats in the same way as Grid or Chart.

Table Explorer

The table navigator displays the input status of the table data. The sum of the number of data inputs is obtained by the input time and displayed in a graph form. You can see the number of input records during that period by selecting the area of ​​the graph as drag.

There is ON / OFF button of Zoom mode (used for time range adjustment) in the upper right part of the screen.

Bookmark Queries

This is the management screen of query inquiry bookmarked after execution on SQL screen. If you click the query list, you can see the details of the query. You can also switch to the SQL screen using the "to SQL" button.

Collection

Data Collection

The collector manager and collector list registered in the mark base server are displayed in a tree form.

Template files (.tpl), regular expression files (.rgx), and preprocessing script files (.py) must be located in the following path relative to the MACHBASE_HOME path.

  • Template file (.tpl): $MACHBASE_HOME/collector
  • 정규 표현식 파일Regular expression file (.tpl): $MACHBASE_HOME/collector/regex
  • 전처리 스크립트 파일Preprocessing script file (.py): $MACHBASE_HOME/collector/preprocess

화면에 표시된 테이블의 우측에 눈(eye)모양의 아이콘 오른쪽에 레코드의 수가 표시된다. 눈 모양의 아이콘 위로 마우스 커서를 옮기면, On the right side of the table displayed on the screen, the number of records to the right of the eye-shaped icon is displayed. Move the mouse cursor over the eye icon to display the "View Table" 윈도우가 표시된다. 눈 모양의 아이콘을 클릭하면, window. Click on the eye icon to switch to the "Table Explorer" 화면으로 전환되어 테이블 내용을 확인 할 수 있다. 테이블 하단에는 컬렉터와 컬렉터 관리자의 실행 상태와, 데이터 수집 속도를 볼 수 있다. 각 컬렉터 이름의 오른쪽에 컬렉터에 실행, 중지, 삭제 명령을 실행하는 아이콘이 있다.

"add Manager" 버튼을 누르면 별도의 윈도우에 컬렉터 관리자를 실행하는 윈도우가 열린다. 이 윈도우에서 "Create Manager" 버튼으로 신규 컬렉터 관리자를 등록할 수 있고, 오른쪽에 RENAME, DROP, LIST 기능을 실행할 수 있는 버튼이 있다. LIST 버튼은 그 컬렉터 관리자가 관리하고 있는 컬렉터의 목록을 표시한다.

특정 컬렉터 관리자가 관리하는 컬렉터를 "add Manager" 버튼을 이용하여 생성할 수 있다. 컬렉터 관리자를 선택한 다음, 생성할 컬렉터의 이름을 입력한다. 컬렉터의 이름은 컬렉터 관리자에 대해서 유일한 값이어야 한다.

"Template" 버튼을 클릭하면 새로운 윈도우가 표시된다. "New" 버튼을 이용하여 새로운 템플릿 파일을 생성할 수 있다. 각 템플릿 파일 명의 오른쪽에 템플릿 파일을 수정하기 위한 버튼이 있다. 이 기능을 이용하여 기존에 만들어진 템플릿 파일을 이용하여 새로운 템플릿 파일을 생성할 수 있다. 템플릿 파일을 생성, 변경하고 저장하기 전에 DB_ADDR 및 DB_PORT필드가 적절한 값인지 확인해야 한다. 화면에 표시된 각 구성요소에 마우스 커서를 가져가면, 구성요소에 대한 설명이 표시된다.

Preprocess

이 기능은 전처리 스크립트 파일을 관리하기 위해 사용된다. 컬렉터 관리자를 화면의 우측 구석에서 선택하면, 전처리 스크립트 파일의 목록을 표시한다. "Reload" 버튼을 누르면 파일 목록을 다시 읽어서 표시한다.

스크립트 파일명을 클릭하여 파일을 편집할 수 있고, "New" 버튼을 이용하여 새로운 스크립트 파일을 생성할 수 있다. "Save" 버튼을 이용하여 변경하거나 생성한 파일을 기록할 수 있다.

Regular Expression

템플릿 파일에서 사용되는 정규 표현식 파일을 관리하는 기능이다. 우측에서 컬렉터 관리자를 선택하면, 정규 표현식 파일의 목록을 표시한다. "Reload" 버튼을 이용하여 목록을 다시 읽어 올 수 있다.

정규 표현식 파일 목록에서 파일을 클릭하면 파일 내용이 표시되고 그 파일을 변경할 수 있다. "New" 버튼을 이용하여 신규 정규표현식 파일을 생성할 수 있다.

정규 표현식 파일은 다음의 구성 요소를 포함해야 한다.

  • REGEX : 데이터를 분석하기 위한 정규 표현식이다.
  • START_REGEX : 분석 대상 데이터의 시작 지점을 지정하는 정규 표현식이다. 이 데이터는 REGEX 분석데이터에 포함된다.
  • END_REGEX : 분석 데이터의 끝을 나타내는 정규 표현식이다. 이 이후 값은 분석에 포함되지 않는다. 이 값이 지정되지 않으면 컬렉터는 동작하지 않는다.

아래쪽 화면에 분석 데이터가 입력될테이블의 컬럼 목록이 표시된다. Regex No는 machregex의 결과로 생성되는 일련번호이며 그 이후에 컬럼 이름, 타입, 사이즈가 표시된다. Test 탭을 눌러서 샘플 테스트를 실행해 볼 수 있다. 테스트 결과 성공했다면  Columns 탭에서 원하는 컬럼을 선택한다. 테스트를 실행하면 창에 테스트 실행이 성공했는지를 표시한다. 성공 이후에, 원하는 컬럼 이름, 타입, 사이즈를 설정하고 "Apply" 버튼을 누르면 컬럼 리스트를 다시 표시하게 된다.

DB Admin

Tables 

테이블과 테이블 스페이스를 관리하는 화면이다. 테이블 스키마와 테이블 인덱스를 확인할 수 있다.

Running Queries 

현재 실행중인 질의문들을 표시한다. 실행중인 질의를 중단시킬 수 있다.

System Monitoring 

MWA서버가 실행되고 있는 시스템에 관련한 정보를 표시한다. 정보를 얻을 수 없는 경우에는 공백으로 표시된다. MWA를 현재 실행하는 장비가 아닌 장비를 모니터링 하기 위해서는 원하는 장비에 MWA를 실행하고 그 장비의 "Web URL"을 등록해야 한다.

Preferences

Servers 

마크베이스 서버를 등록하기 위한 메뉴이다. MWA 사용자 중 ADMIN 권한을 갖는 사용자만 접속할 수 있다.

...

Machbase DB 서버의 IP 주소와 포트 번호를 설정한다. MWA 서버와 같은 장비에서 마크베이스 DB를 실행중인 경우, 127.0.0.1 또는 localhost를 사용할 수 있다.

...

최소 하나의 서버는 등록해야 한다. MWA 서버가 실행중인 장비에 Machbase DB를 실행중인 경우 "Command" 버튼을 이용하여 서버 시작과 종료, DB 생성 등의 명령을 수행할 수 있다. 다른 장비에 실행중인 Machbase DB 서버에 대해선 "Command" 버튼으로 실행하는 명령을 제외한 기능들을 이용할 수 있다. 현재 실행중인 MWA 서버가 아닌 다른 장비에도 MWA 서버가 DB 서버와 같이 실행중이면 "Command" 버튼의 명령들을 실행할 수 있다.

Groups 

MWA사용자 그룹을 관리한다. ADMIN 권한을 갖는 MWA 사용자만 접근할 수 있다. Chart, Grid, Dashboard, Bookmark query를 그룹마다 등록하여 관리할 수 있다.

Users 

사용자 계정을 관리한다. 이 사용자 계정은 Machbase DB사용자가 아니라 MWA 사용자를 의미한다. 대시보드의 경우, 이전에 생성한 대시보드를 선택하는 화면이 표시된다.

ADMIN 사용자는 각 사용자와 서버를 등록하고 관리할 수 있다screen and check the table contents. At the bottom of the table, you can see the execution status of the collector and collector manager, and the data collection rate. To the right of each collector name is an icon that executes a run, stop, or delete command on the collector.

Pressing the "add Manager" button opens a window that runs the collector manager in a separate window. In this window, you can register new collector manager with "Create Manager" button, and there is a button to execute RENAME, DROP, LIST function on the right side. The LIST button displays a list of collectors managed by the collector manager.

A collector managed by a specific collector manager can be created using the "add Manager" button. Select the collector manager, and then enter the name of the collector to be created. The name of the collector must be unique to the collector manager.

Click the "Template" button to display a new window. You can create a new template file using the "New" button. To the right of each template file name is a button for modifying the template file. Using this function, a new template file can be created using the existing template file. Before creating, modifying, and saving template files, make sure that the DB_ADDR and DB_PORT fields are appropriate values. Hover the mouse cursor over each component displayed on the screen to see a description of the component.

Preprocess

This function is used to manage the preprocessing script file. Select the collector manager in the right corner of the screen to display a list of preprocessing script files. Press the "Reload" button to re-read the file list.

You can edit the file by clicking on the script file name, and you can create a new script file using the "New" button. You can use the "Save" button to record the changed or created file.

Regular Expression

This is a function that manages the regular expression file used in the template file. When you select Collector Manager on the right, it displays a list of regular expression files. You can use the "Reload" button to reload the list.

When you click on a file in the list of regular expression files, the file contents are displayed and you can change the file. You can use the "New" button to create a new regular expression file.

The regular expression file must contain the following components:

  • REGEX: Regular expression for analyzing data.
  • START_REGEX: A regular expression specifying the starting point of the data to be analyzed. This data is included in the REGEX analysis data.
  • END_REGEX: A regular expression that indicates the end of the analysis data. The values ​​after this are not included in the analysis. If this value is not specified, the collector will not work.

On the lower screen, a list of columns of the table into which the analysis data will be input is displayed. Regex No is the serial number generated as a result of machregex, followed by the column name, type, and size. You can run the sample test by clicking the Test tab. If the test is successful, select the desired column in the Columns tab. When you run the test, the window shows whether the test run was successful. After success, set the desired column name, type and size, and hit the "Apply" button to display the column list again.

DB Admin

Tables

This is the screen to manage table and table space. You can see the table schema and the table index.

Running Queries

Displays the currently executing queries. You can interrupt a running query.

System Monitoring

Displays information about the system on which the MWA server is running. If information can not be obtained, it is displayed as blank. To monitor a device that is not currently running an MWA, you must run the MWA on the desired device and register the "Web URL" for that device.

Preferences

Servers

This is a menu for registering a Machbase server. Only users with ADMIN authority can access MWA.

Server Name

Description
Host and Port

Sets the IP address and port number of the Machbase DB server. You can use 127.0.0.1 or localhost if you are running a Machbase DB on the same machine as the MWA server.

Web URL

You can connect using this URL.

UserID and Password

User name and password of the Machbase DB server

You must register at least one server. If the machine running MWA server is running Machbase DB, you can execute commands such as server start and stop, DB creation, etc. by using "Command" button. For the Machbase DB server running on another machine, you can use the functions except the command to execute with the "Command" button. If the MWA server is running in the same way as the DB server, commands of the "Command" button can be executed on other apparatuses other than the currently running MWA server.

Groups

Manages MWA user groups. Only MWA users with ADMIN authority are allowed access. Chart, Grid, Dashboard, and Bookmark queries can be registered and managed for each group.

Users 

Manages user accounts. This user account refers to the MWA user, not the Machbase DB user. In the case of a dashboard, a screen for selecting a previously created dashboard is displayed.

ADMIN users can register and manage each user and server.

Available Groups: set ADMIN / USER to Authority. 
Available Servers: set default server.

USER 권한의 사용자는 PASSWORD만 갱신이 가능하다Users with the USER privilege can only update the PASSWORD.