pip install -U drf-yasg
pip install flex
젤 처음 쉘에서 실행
s=Search(index = "tranbeat") # get/_search
실행 -->
views - [INFO] [{'_index': '.ds-tranbeat-2023.08.08-000001', '_id': 'Ha0q1IkB45HpZOtWXtMK', '_score': 0.0, '_source': {'input': {'type': 'filestream'}, 'agent': {'name': 'direa-server01', 'id': 'c6d549ca-1894-4986-b48f-866047210e5e', 'type': 'filebeat', 'ephemeral_id': 'd6dcf1de-3928-4dc7-add4-c587d0e7996b', 'version': '8.9.0'}, '@timestamp': '2023-08-04T08:13:34.213Z', 'ecs': {'version': '8.0.0'}, 'log': {'file': {'path': '/home/tuser05/data/mst_on_merge_tr.log'}, 'offset': 17091585}, 'cruzlink': {'TRN_GID': '20230804081334213DFEPASY01010240', 'IF_NM': 'CPM_ONL_03', 'SRC_CHAN_IP': '', 'SE_FLAG': 'S', 'COM_IF_SEP_CD': '0003', 'HDR_TGRM_ID': '', 'PROC_NODE': '0101', 'BKND_SVC_CD': '', 'SRC_CHAN_ID': 'ASYN01', 'SBCD': '', 'TRMNO': '', 'TRN_MST_SEQ': '5e5d4808-3253-11ee-8fdc-7951d47974af', 'IF_ID': 'CPM_ONL_03', 'IF_PTRN': 'T2T', 'ED_DT': '', 'FAIL_CNT': '0', 'FILTER4': '', 'TRN_DT': '20230804', 'EXECUTE_PROC': 'O', 'FILTER5': '', 'PROC_STS': 'ING', 'FILTER6': '', 'ON_HAD_SZE': '', 'COM_RULE_ID': '', 'ON_DAT_SZE': '0', 'FILTER1': '', 'TOT_CNT': '0', 'ED_HMS': '', 'FILTER2': '', 'SUC_CNT': '0', 'FILTER3': '', 'ERR_CNTN': '', 'USR_NO': '', 'BAT_FL_REC_SZE': '0', 'TGT_CHAN_ID': 'DUMMY', 'BRC': '', 'TGT_CHAN_IP': '/220.75.198.106:52608', 'TRN_TM': '081334213', 'CHAN_TP_CD': '', 'TRN_DAY': '04', 'TRN_SUC_DT': '', 'COM_FLOW_ID': 'ONE_A2A_FW'}, 'host': {'hostname': 'direa-server01', 'os': {'kernel': '3.10.0-957.el7.x86_64', 'codename': 'Core', 'name': 'CentOS Linux', 'type': 'linux', 'family': 'redhat', 'version': '7 (Core)', 'platform': 'centos'}, 'containerized': False, 'ip': ['1.234.25.132', '192.168.0.132', '172.17.0.1', '172.18.0.1'], 'name': 'direa-server01', 'id': '7726adb9557a42c88c1b3e4957bb7494', 'mac': ['02-42-A9-3A-44-F7', '02-42-CB-BB-79-14', '14-18-77-35-98-73', '14-18-77-35-98-74', '14-18-77-35-98-75', '14-18-77-35-98-76'], 'architecture': 'x86_64'}, 'tags': ['mst_on']}}, {'_index': '.ds-tranbeat-2023.08.08-000001', '_id': 'Ia0q1IkB45HpZOtWXtMK', '_score': 0.0, '_source': {'input': {'type': 'filestream'}, 'agent': {'name': 'direa-server01', 'id': 'c6d549ca-1894-4986-b48f-866047210e5e', 'ephemeral_id': 'd6dcf1de-3928-4dc7-add4-c587d0e7996b', 'type': 'filebeat', 'version': '8.9.0'}, '@timestamp': '2023-08-04T08:13:34.213Z', 'ecs': {'version': '8.0.0'}, 'log': {'file': {'path': '/home/tuser05/data/mst_on_merge_tr.log'}, 'offset': 17092355}, 'cruzlink': {'TRN_GID': '20230804081334213DFEPASY01010234', 'IF_NM': 'CPM_ONL_03', 'SRC_CHAN_IP': '', 'SE_FLAG': 'S', 'COM_IF_SEP_CD': '0003', 'HDR_TGRM_ID': '', 'PROC_NODE': '0101', 'BKND_SVC_CD': '', 'SRC_CHAN_ID': 'ASYN01', 'SBCD': '', 'TRMNO': '', 'TRN_MST_SEQ': '5e5d4806-3253-11ee-8fdc-27b75879f2c6', 'IF_ID': 'CPM_ONL_03', 'IF_PTRN': 'T2T', 'ED_DT': '', 'FAIL_CNT': '0', 'FILTER4': '', 'TRN_DT': '20230804', 'EXECUTE_PROC': 'O', 'FILTER5': '', 'PROC_STS': 'ING', 'FILTER6': '', 'ON_HAD_SZE': '', 'COM_RULE_ID': '', 'ON_DAT_SZE': '0', 'FILTER1': '', 'TOT_CNT': '0', 'ED_HMS': '', 'FILTER2': '', 'SUC_CNT': '0', 'FILTER3': '', 'ERR_CNTN': '', 'USR_NO': '', 'BAT_FL_REC_SZE': '0', 'TGT_CHAN_ID': 'DUMMY', 'BRC': '', 'TGT_CHAN_IP': '/220.75.198.106:52608', 'TRN_TM': '081334213', 'CHAN_TP_CD': '', 'TRN_DAY': '04', 'TRN_SUC_DT': '', 'COM_FLOW_ID': 'ONE_A2A_FW'}, 'host': {'hostname': 'direa-server01', 'os': {'kernel': '3.10.0-957.el7.x86_64', 'codename': 'Core', 'name': 'CentOS Linux', 'family': 'redhat', 'type': 'linux', 'version': '7 (Core)', 'platform': 'centos'}, 'containerized': False, 'ip': ['1.234.25.132', '192.168.0.132', '172.17.0.1', '172.18.0.1'], 'name': 'direa-server01', 'id': '7726adb9557a42c88c1b3e4957bb7494', 'mac': ['02-42-A9-3A-44-F7', '02-42-CB-BB-79-14', '14-18-77-35-98-73', '14-18-77-35-98-74', '14-18-77-35-98-75', '14-18-77-35-98-76'], 'architecture': 'x86_64'}, 't
'Django' 카테고리의 다른 글
react 1일차 (0) | 2023.08.17 |
---|---|
장고 스터디 확장 (WSGI) (0) | 2023.08.16 |
장고 복습 (0) | 2023.08.14 |
Django 교육 3일차 (0) | 2023.08.09 |
Django 교육 2일차 (0) | 2023.08.08 |