Kaseya Community

Log Parser Setup Help

  • HI All,

    This is my first attempt at log parsers and would like some help in setting this up please.

    I have a log file located in C:\DTSripts\mirror_status.txt and has this data within:

    User access level set to DT_FULL_ACCESS
    - Current States on cit-livewire02 -
    Source Machine ConID Path State
    hpuksrv07 2 F:\hp pelzer\hpuksrv07\hpuksrv Mirroring

    hpuksrv07 2 F:\hp pelzer\hpuksrv07\hpuksrv Mirroring

    hpuksrv07 2 F:\hp pelzer\hpuksrv07\hpuksrv Mirroring

    hpuksrv07 2 F:\hp pelzer\hpuksrv07\hpuksrv Mirroring

    hpuksrv07 2 F:\hp pelzer\hpuksrv07\hpuksrv Mirroring

    hpuksrv07 2 F:\hp pelzer\hpuksrv07\hpuksrv Mirroring

    hpuksrv07 2 F:\hp pelzer\hpuksrv07\hpuksrv Mirroring

    hpuksrv07 2 F:\hp pelzer\hpuksrv07\hpuksrv Mirroring

    sure-liv-exch 1 F:\sure ltd\sure-liv-exch\c\pr OK

    sure-liv-exch 1 F:\sure ltd\sure-liv-exch\c\pr OK

    sure-liv-exch 1 F:\sure ltd\sure-liv-exch\c\pr OK

    sure-liv-exch 1 F:\sure ltd\sure-liv-exch\c\pr OK

    sure-liv-exch 1 F:\sure ltd\sure-liv-exch\c\pr OK

    sure-liv-exch 1 F:\sure ltd\sure-liv-exch\c\pr OK

    I have setup a log parser:

    Log File Path:

    C:\DTSripts\mirror_status.txt

    Template:

    User access level set to DT_FULL_ACCESS - Current States on cit-livewire02 - Source Machine ConID Path State $MachineName$% 2 F:\hp pelzer\hpuksrv07\hpuksrv %$State$


    OutPut Template:

    Event description: Double Take on machine $MachineName$ is reporting the state of $State$

    Parameters:

    MachineName = String
    State = String

    Define Parser:

    State Begins With Mirroring

    This is not alerting me at all and I also only need one alert per server name, any help would be great

    SmileSmile

    Legacy Forum Name: Log Parser Setup Help,
    Legacy Posted By Username: dstrong
  • try this using this, your parser may be set up wrong





    Parser test tool

    Legacy Forum Name: How-To,
    Legacy Posted By Username: thirteentwenty
  • Thank you for the reply,

    I have already done this and I get the data back, but not when I place the same details within Kaseya.

    Sorry should of put this on the details. Also The tool brings back the data for each line and I would like it to only give back data for each line when the machine name changes, if possible ?

    Legacy Forum Name: How-To,
    Legacy Posted By Username: dstrong