Log Reading

Welcome Forums General PowerShell Q&A Log Reading

This topic contains 1 reply, has 1 voice, and was last updated by

 
Participant
1 year, 1 month ago.

  • Author
    Posts
  • #78766

    Participant
    Points: 0
    Rank: Member

    Hey,
    I am a newbie in PowerShell and wanted some help in reading a log file and getting the output to a CSV.
    Requirement is to get the below details from the bad log entry.
    1. deviceID
    2. Userid
    3. Error details can be the complete text from the log.
    4. if I have an error for the same device we should skip it not collect it. (the deviceid and userId should be unique)


    Bad Log entry

    LOG[Validation Phase 1 finished with status True.]LOG]!>

    G[Validation Phase 1 started.]LOG]!>

  • #78769

    Participant
    Points: 0
    Rank: Member

    Bad Log entry

    LOG[Validation Phase 1 finished with status True.]LOG]!>

The topic ‘Log Reading’ is closed to new replies.