UNSOLVED

Shai Viente

updated

3 years ago

SV

Shai Viente

1 Rookie

1 Message

0

806

January 2nd, 2023 05:00

Isilon FSA "data usage" details from API

hello!

I have an Insigthiq server in my environment.

I wont to export report for all directories (recursively) in my OneFs system. with the following information:

Directory name, number of directories inside, number of files inside, logical directory size, physical directory size.

from insigthiq GUI I can navigate to: File System Reporting > File System Analytics > Report Type "Data Usage" > view report.  and I can see all the information I wrote above and export it to csv file.

The problem is that from GUI I can do it just from one specific path, and not recursively. I want to run it automatically for multiple path and export custom report to csv.

I try with "iiq_data_export fsa export -c -d directories -o -r directory: " command, but this command working just for one  path. and the depth of the path limited (by directory filter path squash) compared to the GUI where the depth not limited.

so I try to do this from API with http request:  GET "https:// :8080/platform/3/fsa/results/ /directories/?path= " and there are the same limitations.

I tried with several other requests and did not find solution.

I say: if it possible from GUI and without a depth limit, there must be away with API!!!

I tried query the fsa results.db with the following command: "sqlite3 -column -header /ifs/.ifsvar/modules/fsa/pub/latest/results.db 'select * from disk_usage'  " and that's not output nothing.

 

Can anyone help me find a way to get the above information out of the API in a simple way?

I attaching a picture from the GUI to bring an example of the information I want

thanks

ShaiViente_0-1672665005454.png