Someone recently asked about a program to find "Shares" in the output log. I don't know of any simple answer, but depending on the detail you need, something like
findstr /n nonce 1519244225_log.txt
will find the shares in the logfile, only because the word "nonce" only appears when a share is uploaded. I didn't even try to generalize for anything beyond ETH shares, but something relatively simple should work out if you look to figure out what is unique about those particular lines in the logfile. I do know that it works for "B2S" (blake2s) as well, but I don't have logfiles to test for other coins. The word "nonce" appears in the header for some pools because it's also a parameter (i.e. "extranonce") but beyond that it's accurate for both coins I have mined recently.
If you add redirection like:
findstr /n nonce 1519244225_log.txt > nonce_count.log
it will write them to a file named "nonce_count.log" instead of simply displaying them onscreen. You can manipulate them easily, and the "/n" param adds the line numbers in front of the extract like this:
365:15:19:44:510 3d1c ETH: put share nonce a8b3147c03a7e455
412:15:20:05:510 15ec ETH: put share nonce 486eac900c27e164
607:15:21:16:593 15ec ETH: put share nonce d76c08f80207fa48
1211:15:25:12:302 3d1c ETH: put share nonce 413392400d2dd6dc
2421:15:33:27:153 15ec ETH: put share nonce 5e58f04005f173ea
2781:15:35:36:813 3d1c ETH: put share nonce dd179ba809d65310
2869:15:36:28:895 15ec ETH: put share nonce 6ca93f181375d86b
3689:15:42:44:060 3d1c ETH: put share nonce 330430240c9085e4
3839:15:44:01:403 3d1c ETH: put share nonce 3932b92c0b06a2ab
4679:15:50:12:059 15ec ETH: put share nonce 1aa0f12803cc0c42
4872:15:51:32:595 3d1c ETH: put share nonce 7f7178a414011feb
4985:15:52:15:581 3d1c ETH: put share nonce 6e76965400460ebd
5478:15:56:09:181 15ec ETH: put share nonce 2db26928019f2453
5919:15:59:10:735 15ec ETH: put share nonce 5a20bdd004576d96
5996:15:59:40:128 15ec ETH: put share nonce ed94e408057c2f4b
6673:16:04:41:959 3d1c ETH: put share nonce 8cb7d900403bf0d
6792:16:05:21:687 15ec ETH: put share nonce dd9cb6e803b53095
7212:16:08:37:562 15ec ETH: put share nonce 97d0a0d80c01366e
7896:16:13:41:546 15ec ETH: put share nonce e5cc78900adf3c0b
8403:16:17:17:089 3d1c ETH: put share nonce 4a8d61b806a5a4d0
9326:16:23:50:756 15ec ETH: put share nonce 2adb5eb0003a8460
9397:16:24:10:092 15ec ETH: put share nonce f0ee99f803932d40
9977:16:28:20:265 3d1c ETH: put share nonce d596c4300b47176b
10199:16:30:05:228 3d1c ETH: put share nonce a50e335814b7ef7f
10321:16:31:17:717 3d1c ETH: put share nonce 16ccd2e018389517
10449:16:32:15:480 3d1c ETH: put share nonce 565c6f5c00af4e82
11016:16:35:52:043 3d1c ETH: put share nonce d04698bc018776ea
11340:16:38:17:727 3d1c ETH: put share nonce a23866a805b76f3f
11661:16:40:07:617 3d1c ETH: put share nonce 5defeea40305f088
12250:16:44:45:733 15ec ETH: put share nonce 1a64e7300d376b88
12423:16:46:12:838 3d1c ETH: put share nonce cd1f839c0e1f5399
12880:16:49:40:091 3d1c ETH: put share nonce 51f18f5003850517
13359:16:52:52:962 15ec ETH: put share nonce 6aa96f48015cd05b
13560:16:54:03:206 15ec ETH: put share nonce 645c35d000c90048
Blake2s ("B2S") shares look like this:
32:07:58:26:137 934 send: {"id": 5, "method": "mining.extranonce.subscribe", "params": []}
174:07:59:27:067 3644 B2S: put share nonce 117f4069 enonce aa
227:07:59:51:581 3644 B2S: put share nonce 13d5015 enonce 12a
241:07:59:55:377 3644 B2S: put share nonce 72cd3bc enonce 13e
268:08:00:00:525 226c B2S: put share nonce af17c enonce d
505:08:01:29:753 3644 B2S: put share nonce b085330 enonce 3a
1455:08:08:20:412 226c B2S: put share nonce 8ba725a enonce 85
1919:08:11:04:943 226c B2S: put share nonce 9ea43da enonce 5
The first one is not a share, it's setting the parameter for nlpool.nl's extranonce values.