7 Replies Latest reply on Aug 18, 2019 8:50 PM by Brendan Murray

    Patrol for Log -- what is the special character "STX" which is found in pconfig rules ?

    Kaushik KM
      Share This:

      Hi ALL,

       

      i am trying to automate the process of configuring log monitoring, I want to be able to create pconfig rules, but found a special character in one of the variable. what is the importance of that character and is it really necessary to include that in pconfig rule ?

       

       

      sample pconfig rules:

      ======================================================

      "/PMG/CONFIG/APP__mytest/actAlertEvent" = { REPLACE = "0" },

      "/PMG/CONFIG/APP__mytest/actAlertEventMessage" = { REPLACE = "" },

      "/PMG/CONFIG/APP__mytest/actAlertEventOrigin" = { REPLACE = "" },

      "/PMG/CONFIG/APP__mytest/actAlertEventTime" = { REPLACE = "" },

      "/PMG/CONFIG/APP__mytest/actAtomSize" = { REPLACE = "3" },

      "/PMG/CONFIG/APP__mytest/actContainEnv" = { REPLACE = "0" },

      "/PMG/CONFIG/APP__mytest/actDelInstInMin" = { REPLACE = "" },

      "/PMG/CONFIG/APP__mytest/actFileBegin" = { REPLACE = "0" },

      "/PMG/CONFIG/APP__mytest/actFileFilter" = { REPLACE = "" },

      "/PMG/CONFIG/APP__mytest/actFileTreatment" = { REPLACE = "1" },

      "/PMG/CONFIG/APP__mytest/actFileType" = { REPLACE = "1" },

      "/PMG/CONFIG/APP__mytest/actIgnoreDup" = { REPLACE = "" },

      "/PMG/CONFIG/APP__mytest/actInitialReadEOF" = { REPLACE = "1" },

      "/PMG/CONFIG/APP__mytest/actLabel" = { REPLACE = "APP__mytest" },

      "/PMG/CONFIG/APP__mytest/actLogicalName" = { REPLACE = "/tmp/mylogfile.log" },

      "/PMG/CONFIG/APP__mytest/actName" = { REPLACE = "/tmp/mylogfile.log" },

      "/PMG/CONFIG/APP__mytest/actNullifyString" = { REPLACE = "" },

      "/PMG/CONFIG/APP__mytest/actPatterns/mySID" = { REPLACE = "0 SearchStringOne 1: 0   1  1 0   ,1,,,1,  0" },

      "/PMG/CONFIG/APP__mytest/actPriority" = { REPLACE = "1" },

      "/PMG/CONFIG/APP__mytest/actStateEvent1" = { REPLACE = "4" },

      "/PMG/CONFIG/APP__mytest/actStateEvent2" = { REPLACE = "1" },

      "/PMG/CONFIG/APP__mytest/actStateEventCount1" = { REPLACE = "1" },

      "/PMG/CONFIG/APP__mytest/actStateEventCount2" = { REPLACE = "" },

      "/PMG/CONFIG/APP__mytest/actStateReturnOK" = { REPLACE = "1" },

      "/PMG/CONFIG/APP__mytest/actTouch" = { REPLACE = "0" },

      =======================================================================

       

      please check the variable actPatterns containing the search string along with the special character, looks like below in notepad :

       

      Thanks in advance,

      Kaushik KM