순서

  1. Logstach를 이용하여 Apache Access log 를 elastic으로 전송합니다.
  2. kibana로 index를 확인하고, DashBoard를 구성합니다.


Apache Access log 샘플 : https://www.ssg-surfer.com/boring-log.com/logs/apache-access.log


apache.conf

input {
file {
path => "C:\App\logstash\exam\access.log"
}
}

filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}" }
}
date {
match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ]
}
}

output {
elasticsearch {
hosts => ["localhost:9200"]
index => "accesslog"
}
stdout { codec => rubydebug }
}

bin/logstash -f exam/apache.conf




Elasticsearch에서 확인



Kibana에서 확인



Kibana Dashboard구성


  • No labels

1 Comment

  1. Anonymous

    P4 also expressed more proteins with substantial angiogenic potential than P0 under hypoxic conditions Fig viagra priligy