U
U
Username02018-05-08 07:44:32
Journaling
Username0, 2018-05-08 07:44:32

How to ungroup data inside one log file for easy reading?

Hello.
There is a log-file and it receives data on 15 types of sources. Each of the 15 types has its own properties, but the data is written to the log without sorting, but simply in real time. Is there any way to group the data?
Example:
[source 1 data-data-data-data-data time 15]
[source 1 data-data-data-data-data time 8]
[source 3 data-data-data-data-data time 10]
[source 9 data-data-data-data-data time 11]
[source 1 data-data-data-data-data time 3]
[source 9 data-data-data-data-data time 21]
[source 3 data-data-data -data-data time 5]
Those. I need to see grouped selections by "source N" in order to understand what is happening now in this type (selection of all data on it), with the ability to quickly look at other types as well. You can use tabs, you can do anything, just so as not to painfully read into a giant log in search of what you need. Are there ready-made log-file analyzers with this capability?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
U
Username0, 2018-05-08
@Username0

I asked myself and I will answer. In general, LogExpert can do this, by F4 submenu Filter and there by the "Advanced" button there will be "Filter to tab".
Hope it helped someone. :)

A
Anton Vanin, 2018-05-08
@vanton

cat file.log | grep 'source 1'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question