technote:filtering_journal_output
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| technote:filtering_journal_output [2025/07/22 02:52] – Scott Cunliffe | technote:filtering_journal_output [2025/07/23 01:44] (current) – [Filtering Text File using WSL/BASH] Scott Cunliffe | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| * Outputting to an EXCEL or CSV file and using the Data Filter function. | * Outputting to an EXCEL or CSV file and using the Data Filter function. | ||
| * Output to a text file and use Windows '' | * Output to a text file and use Windows '' | ||
| + | |||
| + | Journal Entry Categories | ||
| + | * LOGIN | ||
| + | * SNAP | ||
| + | * VOLMOVE | ||
| + | * VOLADD | ||
| + | * PWRESET | ||
| + | * LOGOUT | ||
| ===== Extracting Journal to Excel ===== | ===== Extracting Journal to Excel ===== | ||
| Line 9: | Line 17: | ||
| Set variable '' | Set variable '' | ||
| - | ``` | + | < |
| cd "" | cd "" | ||
| set TMSSREPORTFORMAT=EXCEL | set TMSSREPORTFORMAT=EXCEL | ||
| TMSS10LogStatsPrintDB -h " | TMSS10LogStatsPrintDB -h " | ||
| - | ``` | + | </ |
| ===== Extracting Journal to CSV ===== | ===== Extracting Journal to CSV ===== | ||
| Line 19: | Line 27: | ||
| Set variable '' | Set variable '' | ||
| - | ``` | + | < |
| cd "" | cd "" | ||
| set TMSSREPORTFORMAT=CSV | set TMSSREPORTFORMAT=CSV | ||
| TMSS10LogStatsPrintDB -h " | TMSS10LogStatsPrintDB -h " | ||
| - | ``` | + | </ |
| ===== Extracting Journal to Text File ===== | ===== Extracting Journal to Text File ===== | ||
| Line 29: | Line 37: | ||
| Run '' | Run '' | ||
| - | ``` | + | < |
| cd "" | cd "" | ||
| TMSS10LogStatsPrintDB -h " | TMSS10LogStatsPrintDB -h " | ||
| - | ``` | + | </ |
| ==== Filtering Text File using Powershell ==== | ==== Filtering Text File using Powershell ==== | ||
| - | To filter out any line with the entries VOLADD or VOLMOV and write to file output | + | To filter out any line with the entries |
| - | ``` | + | < |
| Select-String -Path input.txt -Pattern " | Select-String -Path input.txt -Pattern " | ||
| - | ``` | + | </ |
| ==== Filtering Text File using Command Prompt As Administarator==== | ==== Filtering Text File using Command Prompt As Administarator==== | ||
| - | To filter out any line with the entries VOLADD or VOLMOV and write to file output | + | To filter out any line with the entries |
| - | ``` | + | < |
| findstr " | findstr " | ||
| - | + | </ | |
| - | ``` | + | |
| ==== Filtering Text File using WSL/BASH ==== | ==== Filtering Text File using WSL/BASH ==== | ||
| - | To filter out any line with the entries VOLADD or VOLMOV and write to file output | + | To filter out any line with the entries |
| - | ``` | + | < |
| grep -E " | grep -E " | ||
| - | ``` | + | </ |
| + | {{tag> technote journal cli}} | ||
technote/filtering_journal_output.1753152765.txt.gz · Last modified: 2025/07/22 02:52 by Scott Cunliffe
