Hi
I have successfully used logstash to import tomcat logs and Able to create visual builder and I'm able to see logs aslo
Now I'm Unable to create pie chart with the filters with "error" and "message" . I want to show it in " Pie chart " with percentage of Errors and messages
My logstash filter :-
[root@hostname conf.d]# cat filter.conf
filter {
if [type] == "log" {
grok {
match => { "message" => "%{TOMCATLOG}" }
}
date {
match => [ "timestamp", "yyyy-mm-dd HH:mm:ss Z" ]
}
}
}
[root@hostname conf.d]# cat input.conf
input {
file {
type => "log"
path => ["/data1/wso2is-5.3.0/repository/logs/*.log"]
start_position => "beginning"
}
}
[root@hostname conf.d]# cat output.conf
output {
elasticsearch {
hosts => ["elasticsearchIp:9200"]
}
}