I am new to the ELK stack and was hoping to use that to debug issues from log files. My requirement is to plot the time taken for a thread to process a task and return back to the pool. Basically the logs look like the following :
2014-10-31 13:00:00,007 [catalina-exec-11] DEBUG [com.clairmail.jms.concurrent.poolimpl.JMSProducerPoolImpl] Providing a pooled producer to catalina-exec-11
..... and
2014-10-31 13:00:00,121 [catalina-exec-11] DEBUG [com.clairmail.jms.concurrent.poolimpl.JMSProducerPoolImpl] catalina-exec-11 has returned producer to pool.
From the above logs, I can figure out that this particular thread catalina-exec-11 took about 107 ms to complete. My questions are the following:
- How can this be represented on a graph in Kibana?
- We have a distributed architecture, so in all likelihood there is going to be a catalina-exec-11 in the second instance and how can that be distinguished from the first instance?
- Aggregate over both the servers to see how the average time to process a thread has been.
- What would my grok filter look like?
Anoop