Microsoft Virtualization Discussions

Get-NaSystemLog -AuditLog TimeStampDT not set

wincasait
3,243 Views

Hello,

i am using the Powershell Toolkit 2.0 on a Win7 64Bit Desktop.

The connected filer is a Fas 2040 with NetApp Release 7.3.5.1P2.

when i try to get filtered AuditLogdata i have some Problems to set the filter because the TimeStampDT Value is not set.

Get-NaSystemLog -AuditLog | where {$_.Timestamp -gt (Get-Date).AddHours(-2)} | select TimeStamp,timestampdt, Severity, EventSource, Value

TimeStamp   : Mon Jul 16 14:19:01 CEST

TimeStampDT : 01.01.0001 00:00:00

Severity    : debug

EventSource : root

Value       : <netapp version='1.0' xmlns='http://www.netapp.com/filer/admin'><file-read-file>   <length>131072</length>   <offset>0</offset>   <path>/vol/vol0/etc/log/auditlog</path> </file-read-

              file></netapp>

OS : Windows 7 Ultimate, SP1 English Current Region / Language Setting : German (Switzerland)

Any suggestions how to populate TimeStampDT ?

Thanks, Frank

1 ACCEPTED SOLUTION

beam
3,243 Views

Hi Frank,

It appears you have found a bug.  I was able to reproduce it (thanks for the region settings!) and it will be fixed for the next toolkit release.

Thanks,

Steven

View solution in original post

1 REPLY 1

beam
3,244 Views

Hi Frank,

It appears you have found a bug.  I was able to reproduce it (thanks for the region settings!) and it will be fixed for the next toolkit release.

Thanks,

Steven

Public