Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- xrdp
- TreeMap
- mysql 한국어
- db utf8
- mysql 다국어
- 원격
- com.netflix.zuul.exception.ZuulException
- #MSA
- backtracking
- #spring boot admin
- CORS policy: No 'Access-Control-Allow-Origin'
- IOT
- Access-Control-Allow-Origin
- mariadb 다국어
- #actuator
- ArrayList
- mosquitto
- cors
- emqx
- 크로스도메인
- mariadb 한국어
- Set
- com.netflix.zuul.exception.ZuulException: Hystrix Readed time out
- mqtt
- #spring boot
- HashMap
- mstsc
- Hystrix Read time out
- message protocol
- java collection
Archives
- Today
- Total
miin29na
[log]logstsah ( 작성중) 본문
logstash download page
https://www.elastic.co/downloads/logstash
zip 버전을 다운받아 원하는 폴더에 압축을 푼다. (이 때, 공백이 포함된 폴더는 오류를 발생)
logstsh outpu plugin install
logstsah-plugin.bat install logstsah-output-jdbc
Validating logstash-output-jdbc
Installing logstash-output-jdbc
Installation successful
ddd
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Sample Logstash configuration for creating a simple # Beats -> Logstash -> Elasticsearch pipeline. input { file { path => "D:/workspace/iot_core/op-iot-platform/iot_core/thingRegistry-service/logback/spring.log" # start_position => beginning } } filter { json { source => message } } output { stdout {} jdbc { driver_jar_path => "D:/logstash-6.5.4/logstash-6.5.4/lib/mysql-connector-java-5.1.38.jar" connection_string => "jdbc:mysql://10.177.204.45:3306/iot_core?user=root&password=digital21!" statement => [ "INSERT INTO log (host, timestamp, message) VALUES(?, ?, ?)", "host", "@timestamp", "message" ] } } | cs |
Comments