Solved

Nutanix Files logs

  • 5 February 2020
  • 2 replies
  • 2188 views

Where on a Nutanix Files instance can I find logs regarding the creation and modification of directories within a given share?  Particularly I’m looking for logs showing the creation of a directory and then a scripted action to modify the permissions on said directory.  Is this something that is logged?  If so, where would that log reside?

icon

Best answer by JeremyJ 14 February 2020, 19:59

I think the solution you’re looking for is File Analytics.
For a file server, human-readable logs of file operations (folder or file creation, by who and when) is usually unavailable or a debug only option simply due to the size of logs that would likely be created. 
With that in mind, if you want to get a look at when file operations happened and by who, we’re delving into metadata that wasn’t designed to be human readable as it stands on the server. 
Thankfully for situations like yours, our File Analytics offering includes an audit feature.
Take a look at the guide here, I think this will meet the need you described:

https://portal.nutanix.com/#/page/docs/details?targetId=File-Analytics-v2_1:File-Analytics-v2_1

Or to go directly to auditing, click here:
https://portal.nutanix.com/#/page/docs/details?targetId=File-Analytics-v2_1:ana-fs-analytics-audit-trails-c.html 

View original

This topic has been closed for comments

2 replies

Userlevel 2
Badge +3

Hello, 

There is no special log file from Nutanix that logs the cmods and the directory modifications. 

I’m not sure if there is another generic way beside checking the shell history and the .bash_history files.

Userlevel 3
Badge +4

I think the solution you’re looking for is File Analytics.
For a file server, human-readable logs of file operations (folder or file creation, by who and when) is usually unavailable or a debug only option simply due to the size of logs that would likely be created. 
With that in mind, if you want to get a look at when file operations happened and by who, we’re delving into metadata that wasn’t designed to be human readable as it stands on the server. 
Thankfully for situations like yours, our File Analytics offering includes an audit feature.
Take a look at the guide here, I think this will meet the need you described:

https://portal.nutanix.com/#/page/docs/details?targetId=File-Analytics-v2_1:File-Analytics-v2_1

Or to go directly to auditing, click here:
https://portal.nutanix.com/#/page/docs/details?targetId=File-Analytics-v2_1:ana-fs-analytics-audit-trails-c.html