Event Logfile Cache Options

These options allow users to query and maintain the database that caches the event logfile names for use with BeyondInsight for Unix & Linux.

pbdbutil --evtcache [<options>]

Display cached list of event log files:

--lstcache=['{param…}'] Use equals sign (=) for optional parameter.
| -S['{param…}'] No space between switch name and optional parameter.
-s <[-|+]attribute> Sort the list of records by attribute name (asc/desc).

 

Where the { param } argument is formatted JSON parameters:

  • {"path":"<pattern>"}: glob wildcard for logfile path
  • {"runhost":"<host1>"}: Filter by runhost name
  • {"loghost":"<host2>"}: Filter by loghost name
  • {"from":"<yyyy-mm-dd HH:MM>"}: Filter by event logs active on or after this date/time
  • {"to":"<yyyy-mm-dd HH:MM"}: Filter event logs active on or before this date/time
  • {"start":<offset>}: Specify record offset (number) when limiting output
  • {"len":<limit>}: Specify number of rows when limiting output

Remove event log file entries from the logfile cache database:

-d '{param…}'

Where the { param… } argument is formatted JSON parameters:

  • {"path":"pattern"}: glob wildcard for logfile path
  • {"loghost":"host2"}: Filter by loghost name
  • {"from":"<yyyy-mm-dd HH:MM>"}: Filter event logs active on or after this date/time
  • {"to":"<yyyy-mm-dd HH:MM"}: Filter event logs active on or before this date/time