TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:filtering_journal_output

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technote:filtering_journal_output [2025/07/22 02:54] Scott Cunliffetechnote: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 ''findstr'' or Linux's grep function to write relevant data to file.   * Output to a text file and use Windows ''findstr'' or Linux's grep function to write relevant data to file.
 +
 +Journal Entry Categories
 +  * LOGIN
 +  * SNAP
 +  * VOLMOVE
 +  * VOLADD
 +  * PWRESET
 +  * LOGOUT
  
 ===== Extracting Journal to Excel ===== ===== Extracting Journal to Excel =====
Line 37: Line 45:
 ==== 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 ''VOLADD'' or ''VOLMOV'' from the text file input.txt and write to file output
  
 <code> <code>
Line 46: Line 54:
 ==== 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 ''VOLADD'' or ''VOLMOV'' and write to file output
  
 <code> <code>
Line 54: Line 62:
 ==== 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 ''VOLADD'' or ''VOLMOV'' and write to file output
  
 <code> <code>
Line 60: Line 68:
 </code> </code>
  
 +{{tag> technote journal cli}}
technote/filtering_journal_output.1753152848.txt.gz · Last modified: 2025/07/22 02:54 by Scott Cunliffe