logging - How to group logs by "start-point" among a distributed system -


i have distributed system lots of machines, each machine produces logs, , can call services in others machines (that produces logs too).

i'm using centralized log service (logentries), , have this:

12:00:00 server1 apache log 12:00:01 server1 application log 12:00:01 server1 apache log 12:00:02 server2 service log 12:00:02 server1 application log 12:00:03 server2 service log 

but want this:

 12:00:00 server1 apache  12:00:01 server1 application log  12:00:02 server2 service log   12:00:01 server1 apache  12:00:02 server1 application log  12:00:03 server2 service log 

these logs grouped start point (the apache log).

there solution that? can stop use logentries , use other log management saas.

you don’t have information in logs, can’t group it. generate id, guid , log every other message. way you’d know execution path.

i’m not sure how logs being sent centralized system, if asynchronously, you’d need provide logical clock (lamport clock) if jump between different instances , services, because order in they’d arrive @ central server can change.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -