-b byte_count[k|m] Create smaller files byte_count bytes in length. If “k” is appended to the number, the file is split into byte_count kilobyte pieces. If “m” is appended to the number, the file is split into byte_count megabyte pieces.
-l line_count Create smaller files n lines in length.
linux split by line
➜ split -a 2 -l 100000 test.log t1-
linux split by size
➜ split -a 2 -b 1m test.log t2-
Of course, when you split the file, you will also need to use the split of the string.