User Guide
Filter pasted logs with grep, extract columns with awk, replace text with sed, and count duplicates with sort and uniq pipelines using supported options.
Count duplicate error log lines
Source text: ERROR host api INFO host web ERROR host api ERROR host worker Command: grep 'ERROR' | sort | uniq -c
2 ERROR host api
1 ERROR host worker
Filter pasted logs with grep, extract columns with awk, replace text with sed, and count duplicates with sort and uniq pipelines using supported options.
Only supported commands and options work. Replace grep ERROR app.log with grep ERROR and paste the file contents into Source text. This is not a full shell or a complete GNU/Linux environment.
No. Deletion and replacement affect the output only. Neither your input nor PC/server files are modified, and no new file is written. Copy the result to use it elsewhere.
Execution is manual. Run again with the button or Ctrl+Enter. The old result stays visible, but copy and expand remain disabled until rerun.
No grep matches produces an empty result. Stop a long task or wait for the 10-second limit. Narrow the filter or reduce the data and run again.
uniq only groups adjacent equal lines. Use sort | uniq -c to count all duplicates, then sort -nr to put the largest counts first.
Baro Work is a collection of tools with no login. Inputs and results are not stored on the site server or in browser storage. See the translation and DNS guides for external transfers.
Use all tools on the home page →