Hi,
I have few rows in 1 log:
2018-01-25 13:49:40,107 INFO [com.wss.service.agent.AgentServlet] (default task-46) ************************* Start handling request *************************
2018-01-25 13:49:40,107 INFO [com.wss.service.agent.AgentServlet] (default task-46) coming from 10.10.10.10
2018-01-25 13:49:40,183 INFO [com.wss.service.agent.AgentServlet] (default task-46) Handling request
com.wss.service.agent.impl.AgentRequestParams@429a71c5[
type=XXXX
agent=QQQQ
agentVersion=1.0
pluginVersion=2.0
domainToken=bc08304288fb47769288afdf9044ae0155hgg654
product=ZZZZZ
productVersion=3.0
timestamp=Thu Jan 25 13:49:39 GMT+02:00 2018
requesterEmail=splunk@ws.com
projectInfos=AgentProjectInfo@2ae7c61a[coordinates= Coordinates@3f30d63a[groupId= null,artifactId= AAAAAAA,version= null ],parentCoordinates= null,projectToken= null ]
]
2018-01-25 13:49:40,183 INFO [com.wss.service.agent.AgentServlet] (default task-46) request type is UPDATE
2018-01-25 13:49:40,228 INFO [com.wss.service.agent.impl.AgentServiceImpl] (default task-46) updating domain: DomainName, product: ProductName
2018-01-25 13:49:40,266 DEBUG [com.wss.service.agent.impl.AgentServiceWorkManagerImpl] (default task-46) Updating inventory for BBBBBBB
2018-01-25 13:49:40,266 DEBUG [com.wss.service.agent.impl.AgentServiceWorkManagerImpl] (default task-46) New UpdateInventoryTask for DomainName
2018-01-25 13:49:40,266 DEBUG [com.wss.service.agent.AgentServlet] (default task-46) writing result
2018-01-25 13:49:40,267 INFO [org.perf4j.TimingLogger] (default task-46) start[1516880980107] time[159] tag[Agent Request]
2018-01-25 13:49:40,267 INFO [com.wss.service.agent.AgentServlet] (default task-46) ************************* Handling request finished *************************
These rows describe a task (there are a lot of tasks with different types)
The task has TaskID - 46 in this example
How can we get a statistics on the tasks (how many times it was executed, duration, etc.) by type of task or agent
Thanks for the help
... View more