Versions Compared

Key

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

...

Optional

Type

Description

Example

tag_name

string

Tag의 이름. 여러개를 명시하려면 ',' 문자를 이용하여 나열할 수 있다.

&tag_name=tag1,tag2,tag3

start_time

string

검색 시작 시간 (종료시간보다 적은 값이어야 함)

아래의 두가지 중 하나의 방법으로 설정

type 1 : 시간 문자열

  • start_time=2018-01-16 14:40:05 000
    or

  • start_time=2018-01-16 14:40:05.000

type 2 : 밀리초 혹은 마이크로초 기반 타임스탬프

  • start_time=1618813188
    or

  • start_time=1618813188123

&start_time=2018-01-16 14:40:05 000
or
&start_time=2018-01-16 14:40:05.000
or
&start_time=1618813188
or
&start_time=1618813188123

separator

string

매개변수의 tag_name, columns, and_condition들을 구분하는 구분자

&separator=| (default : ,)

value_return_form

int

결과 출력 방법
차트 라이브러리에서 입력받는 방식에 따라 변경하여 사용함

0 : separate standard (default)
or
1 : merged standard

and_condition

string

검색 조건절(escape sequence설정이 필요)

  • 칼럼명은 이중따옴표 (“)로 둘러싸야 함

&and_condition=”value” > 345,”name” = 'sjkim'

end_time

string

검색 종료 시간 (start_time보다 커야 함)

  • same as start_time

same as start_time

date_format

string

Time값의 포멧 지정 DATE_FORMAT 혹은 timestamp 단위("SECOND", "MILLISECOND", "MICROSECOND", "NANOSECOND")

&date_format=YYYY-MM-DD HH24:MI:SS
or
&date_format=MILLISECOND

(default : YYYY-MM-DD HH24:MI:SS)

offset

int

검색후 건너뛸 데이터의 수

&offset=500

limit

int

출력할 데이터의 수

&limit=1000 (default : Restricted by 'lake tier' by lake tier)

columns

string

표시할 컬럼의 이름

&columns=value,value2 (default : value)
name, time is the default choice

aliases

string

별명으로 표시할 칼럼의 이름

(Must be blank or equal to columns,)

&aliases=myvalue,myvalue2
Can not be use alias for name and time.

direction

int

오름차순 혹은 내림차순 설정

&direction=0 : ascend (default)
or
&direction=1 : descend

...