How to create pie chart for Tomcat logs

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"]
}

}

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

Would you mind elaborating on the structure of the documents which are stored in Elasticsearch? Your logstash filter doesn't provide enough information for me to determine how to create a pie chart which will given you the information you're looking for.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.