ADVERTISEMENT

pureaudit commands

The pureaudit command displays and manages the audit logs record details in Pure Flash Storage Array

Below list contains some of the most useful pureaudit commands.

  • pureaudit list

    Display the list of audit records. Audit trail records are created whenever administrative actions are perfromed by a user (for eg: creating, destroying, eradicating a volume)
    Copied
  • pureaudit list --filter 'command="purepod" and subcommand="create"'

    List all the audit records for purepod create command executed in the array
    Copied
  • pureaudit list --filter 'command="purepod" and user="pureuser"'

    List all the audit records for purepod commands executed by pureuser in the array
    Copied
  • pureaudit list --filter 'command="purepod"'

    List all the audit records for purepod command executed in the array
    Copied
  • pureaudit list --filter 'user = "root"'

    Display the list of audit records for the root user
    Copied
  • pureaudit list --limit 10

    Display the first 10 rows of audit records
    Copied
  • pureaudit list --sort user

    Display the list of audit records sorted by the user field. By default the records are sorted by the time field
    Copied

[ view all commands ]