[Solved] search value and count number from log file

[ad_1]

I would do something like this:

cat log | grep -o "number\=[0-9]\+" | cut -d= -f2 | sort | uniq -c

The output for your example is:

7 1193046
6 466000000

5

[ad_2]

solved search value and count number from log file