일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- Button
- index
- SciPy
- synology
- pandas
- GT-S80
- pycharm
- keras
- imread
- ipad
- 삼성소프트웨어멤버십
- RNN
- Lotto
- mean
- Series
- dataframe
- 알고리즘
- pip
- LSTM
- CNN
- DFS
- E-P1
- Python
- Splunk
- mariadb
- Numpy
- SPL
- GitHub
- install
- javascript
- Today
- Total
목록잠토네 잠수함 (493)
잠토의 잠망경
문제 상황 오류 메시지 Could not fetch URL https://pypi.org/simple/sklearn/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/sklearn/ (Caused by SSLError(SSLError(1, '_ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),)) - skipping python 2.7 종료 때문이지 pip download가 정상적으로 되지 ..
https://youtu.be/dc89nCWY35c https://docs.splunk.com/Documentation/Splunk/latest/Search/Customsearchcommandshape Custom search command example - Splunk Documentation Download topic as PDF Custom search command example This following is an example of a custom search command called shape. The shape command categorizes events based on the event line count (tall or short) and line length (thin, wide..
간략 1. splunk 수신 설정 port: 9997 2. Search - Index 설정 3. Search - Source Type 설정 4. Forwarder - Indexer 설정 C:\Program Files\SplunkUniversalForwarder\etc\system\local\outputs.conf [tcpout] defaultGroup = default-autolb-group [tcpout:default-autolb-group] server = 192.168.131.133:9997,127.0.0.1:9997 [tcpout-server://192.168.131.133:9997] [tcpout-server://127.0.0.1:9997] 5. Forwarder - Directory(Path)..
다운로드 및 설치 https://www.splunk.com/en_us/download/splunk-enterprise.html Download Splunk Enterprise for Free | Splunk Sign up now and receive a link to download Splunk Enterprise for free, and start collecting, analyzing and acting upon the untapped value of big data. www.splunk.com 로그인을 해야한다. http://localhost:8000/ko-KR/account/login?return_to=%2Fko-KR%2F
아래와 같이 이벤트가 묶여 있다. 이를 라인별로 쪼갤수 있다. 모든행을 클릭하자 보는것 처럼 라인별로 잘라진게 보여진다. 처리가 되었다면 다음을 클릭한다. 다음과 같이 입력을 진행한다. 인덱서가 있으므로 선택해주고 검토를 눌러 저장한다. 아래는 summary 부분이다. 검색을 진행해보자. 필드를 나눠서 보자 그럼 아래부분을 클릭해본다. 이벤트 작업 → 필드 추출 클릭한다. 정규식과 구분자가 있는데 구분자는 쉬우니 정규식 해보자. 콤마로 이루어진 실수 이므로 아래를 참고해서 입력후 미리보기를 눌러보면 sample들이 잘 맞는지 본다. 실수 정규 표현식 ^[+-]?\d*(\.?\d*)$ ^(?[+-]?\d*(\.?\d*)),(?[+-]?\d*(\.?\d*)),(?[+-]?\d*(\.?\d*)),(?[+-]?..
이게 되려면 license가 필요하다. 난 실패 ㅜㅜ 목적 아래 그림과 같은 구조로 splunk를 구조화할 것이다. 총 5대의 pc가 필요하다. ※ forwarder는 설치대상은 아니다. 마스터 - 설정 1. 설정 → 분산환경: 인덱서 클러스터링 선택 2. 인덱서 클러스터링 → 인덱서 클러스터링 활성화 클릭 3. 마스터 노드를 선택한다. 4. 마스터 노드 설정 → 마스터 노트 활성화 아래와 같이 설정한다. 복제 팩터: 수집 데이터 복제수 검색 팩터: 검색 사본수 보안키: 클러스터링되는 서버에 공유할 키 값, 인덱서와 서치헤드에서 클러스터링 설정시 사용 클러스터 레이블: 사용자가 구분하기 쉽게 하기 위한 용도 5. 지금 다시 시작 클릭 6. 다시 접속해본다. 인덱서 - 설치 0. 라이선싱 설정 → 라이선싱..
설치 과정 0. vmware를 사용해서 진행했다. linux는 ubuntu를 사용했다. 1. splunk-7.3.4.2-cb574b3d103e-Linux-x86_64.tgz 파일을 /opt/ 폴더로 옮긴다. 2. 압축을 푼다. $ sudo tar xvzf splunk-7.3.4.2-cb574b3d103e-Linux-x86_64.tgz 3. 이동 및 splunk 실행 $ cd /opt/splunk/bin $ sudo ./splunk start 4. license 내용을 읽는다. 그리고 admin id 및 password를 설정한다. 5. http://localhost:8000으로 접속이된다. 6. vamware로 했기때문에 외부컴퓨터에서도 접속이 가능하다. 재실행 한경우에 다음 내용을 볼 수 있다.
groupby를 활용하여 matplot에 chart 그리기 GitHub https://github.com/yiwonjae/Project_Python_Lib/blob/master/PandasMy/PandasMyLibs.py ''' Groupby 된 DataFame을 chart로 구성 ''' def makeGroup_s003(df:DataFrame)->None: print(df.info()) grouped:DataFrameGroupBy = df.groupby(['file_name']) import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt for name, group in grouped: group:DataFrame = group ..