
UNSOLVED
insight iq how to collect the information of the contents ( files) of a specific directory
My question is how to collect the information in a specific directory with the cli of insight IQ
I can collect the directories with the IIQ cli
iiq_data_export fsa export -c clustername --data-module directories -o 7318 --name
output CSV:
path[directory:/ifs/],dir_cnt (count),file_cnt (count),ads_cnt,other_cnt (count),log_size_sum (bytes),phys_size_sum (bytes),log_size_sum_overflow,report_date: 1537042326
/ifs/data,4092765,123934912,0,0,1097588028518359,1332028348377088,0
/ifs/home,12,68,0,0,94902,2095104,0
/ifs/.isilon,3,22,0,0,60217,564224,0
/ifs/data/files,1,7,0,0,17907,184832,0
The --data-module directories generates an overview of the files
in the manual i can only find the data-modules option
Directories directories
File Count by Logical Size file_count_by_logical_size
File Count by Last Modified file_count_by_modified_time
File Count by Physical Size file_count_by_physical_size
Top Directories top_directories
Top Files top_files
Now i want to have an export of the directory /ifs/data/files exported to csv format
I can do report in the gui also under file system analytics with the download as csv
Can someone hint me the syntax
Thanks
Responses (2)
Solutions (0)

sjones51
252 Posts
1388
0
Posted November 9th, 2018 09:00
Hi Hans,
I floated your question to one of the people that works a lot with IIQ within Isilon. This was the response I got:
There's a "--filter" argument you might be able to use. The syntax for that argument is
"--filter : "
In your example, you are running "iiq_data_export fsa export -c clustername --data-module directories -o 7318"
and you want to filter the output to just stuff under /ifs/data/files
so you could run:
iiq_data_export fsa export -c clustername --data-module directories -o 7318 --filter directory:/ifs/data/files