I have the different types of logs from different service components i.e,
1. AKPOS service log
2. XE Services log
3. Performance Service log
Path for input file:
Using this path, I load all 3 different types of logs
path => [ "D:\Projects\Log\logs/*" ]
Then my question is:
How we can differentiate these logs are different (means from different services), and how we can create different Dashboards(for each Service log different Dashboard) in Kibana showing their difference.
Actually all logs (3 different service logs) are loaded into Elasticsearch and Kibana. After i am unable to showing their differentiation.
It's common to assign different types to different kind of logs. In your case I'd consider using three different file inputs that match different filename patterns:
file {
path => ["D:/Projects/Log/logs/akpos*"]
type => "akpos"
}
file {
path => ["D:/Projects/Log/logs/xeservice*"]
type => "xeservice"
}
file {
path => ["D:/Projects/Log/logs/performance*"]
type => "perf"
}
Then you'll get a type field that you can in Kibana queries or in Logstash filters since you'll probably want to parse the log messages differently depending on the type of log.
You're never looking at the contents of the type field so whatever value it gets doesn't matter. If your messages aren't reaching ES it's because of something else. Do all your log messages (regardless of type) begin with an ISO8601 date?
And new data is being added to these files? You're not trying to import old files that aren't seeing new messages? What if you comment out the elasticsearch output and just keep the stdout output?
Yes different types of logs are loaded. After loading these logs we need to create a dashboard for individual type of logs (individual dashboard for single type of log, like 3 dashboards for 3 types of logs). In this dashboards, how to create the visualizations and represent the visualizations.
Hi,
I am trying to integrate ELK in my application. I have multiple log files for dev, qa etc. and Iam configuring all the log files in the filebeat.yml. How can I distinguish this log files in kibana.? Now am getting all the logs in one place. I want this to be in separate places, so that i can distinguish the logs. Is there any way to do so? Please help me on this.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.