Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The Aix App is running on the audit standard log.
    When adding/editing the logs to XpoLog it is mandatory to apply the correct log type(s) to each of the logs:log.
    1. aix - all logs that the application will analyze must have aix as a log type.
    2. audit- only the audit logs must also be configured to have audit as a log type.
    3. basic - only the basic audit logs must also be configured to have basic as a log type.
    4. advanced - only the advanced audit logs must also be configured to have advanced as a log type.


  2. Once the required information is set, on each log click next and edit the log pattern, this step is crucial to the accuracy and deployment of the Linux App. Use the following patterns for each of the logs:
    1.  basic audit log:
      {regexp:Date,refName=Message;columnType=date;dateFormat=EEE MMM dd HH:mm:ss yyyy,(\w\w\w \w\w\w \d\d \d\d:\d\d:\d\d \d\d\d\d)}{regexp:EventName,ftype=eventName;refName=Message,(^\S*)}{regexp:Status,ftype=status;refName=Message,\w+\s+\w+\s+([^\S]\w+\s+)\s}{regexp:User1,refName=Message,\w+\s+(.*)}{regexp:User,ftype=username;refName=User1,(^\S*)}{regexp:Action,ftype=message;refName=Message,\d\d\d\d\s(.*)}{string:Message}
      Then, edit the log->customize->layout and set the right layout table as follows:

    2.  advanced audit log:
      first pattern:
      {regexp:Date,refName=Message;columnType=date;dateFormat=EEE MMM dd HH:mm:ss yyyy,(\w\w\w \w\w\w \d\d \d\d:\d\d:\d\d \d\d\d\d)}{regexp:EventName,ftype=eventName;refName=Message,(^\S*)}{regexp:user1,refName=Message,\w+\s+(.*)}{regexp:User,ftype=username;refName=user1,(^\S*)}{regexp:Action,ftype=Message;refName=Message,\d\d\d\d\s([^\s]\w+)}{regexp:PID,ftype=auditid=refName=Message,\d\d\d\d\s\w+\s+\w+\s+(\d+)}{regexp:PPID,refName=Message,\d\d\d\d\s\w+\s+\w+\s+\d+\s+(\d+)}{regexp:Thread,refName=Message,\d\d\d\d\s\w+\s+\w+\s+\d+\s+\d+\s+(\d+)}{regexp:status1,refName=Message,\w+\s+\w+\w\s+(.*)}{regexp:Status,ftype=status;refName=status1,(^\S*)}{string:Message} <{text:text}>
      second pattern:
      {regexp:Date,refName=Message;columnType=date;dateFormat=EEE MMM dd HH:mm:ss yyyy,(\w\w\w \w\w\w \d\d \d\d:\d\d:\d\d \d\d\d\d)}{regexp:EventName,ftype=eventName;refName=Message,(^\S*)}{regexp:user1,refName=Message,\w+\s+(.*)}{regexp:User,ftype=username;refName=user1,(^\S*)}{regexp:Action,ftype=Message;refName=Message,\d\d\d\d\s([^\s]\w+)}{regexp:PID,ftype=auditid;refName=Message,\d\d\d\d\s\w+\s+\w+\s+(\d+)}{regexp:PPID,refName=Message,\d\d\d\d\s\w+\s+\w+\s+\d+\s+(\d+)}{regexp:Thread,refName=Message,\d\d\d\d\s\w+\s+\w+\s+\d+\s+\d+\s+(\d+)}{regexp:status1,refName=Message,\w+\s+\w+\w\s+(.*)}{regexp:Status,ftype=status;refName=status1,(^\S*)}{string:Message}{eol}{text:text}
      Then, edit the log->customize->layout and set the right layout table as follows: