Log Reading

This topic contains 1 reply, has 1 voice, and was last updated by  Phil 2 weeks, 6 days ago.

  • Author
    Posts
  • #78766

    Phil
    Participant

    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

    Phil
    Participant

    Bad Log entry

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

You must be logged in to reply to this topic.