Microsoft Virtualization Discussions

Get-NaSystemLog -AuditLog TimeStampDT not set

wincasait

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

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

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public