-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-RubrikReport doesn't retrive results #692
Comments
I've imported the Rubrik Module and able to run commands but all the commands related to Get-RubrikReport retrieve same results I've been trying to get the detailed result set of Protection Tasks Summary view as per the UI view like below but none of commands get the detalied result set This below complete result set view I'd want via PowerShell command |
Hello @KavyaKanya, I think this is a case where we could've provided better documentation, as I have just pushed an update to the documentation which includes your specific example:
This will get the individual tasks, which you highlighted in the GUI. Let me know if that resolves your issue! |
Hello Jaap Brasser Thanks a ton for the prompt response 1st question: Are the below set of commands giving us the same output Get-RubrikReport -Name ‘Protection Tasks Details’ | Export-RubrikReport (1st one via URL with CSV placed in the URL path and 2nd one giving the putput in the console is that the only difference?) 2nd question: I've made an observation comparing the no.of entries in the CSV via output from the below two set of commands Get-RubrikReport -Name ‘Protection Tasks Details’ | Export-RubrikReport (like below screenshot below) - this command gives entries of 754 (entries within the CSV) I've tried to extract the report from the UI like below screenshot - which gives me 559 entries within the CSV |
I have tried to reproduce the behavior by running the commands and the only difference I could find is that the following will return the duration in milliseconds instead of seconds in both CSV options:
I get the same amount of lines and did a comparison between the output of the following 3 methods:
And I found that all return the same results. If you run the following command, how many results are returned?
|
I've run the command as suggested which retrieved 753 entries Or may be as per my team we have 4 nodes (IP1 IP2 IP3 IP4) but stated that accessing via one IP suppose IP1 (GUI login) it does have the complete data wrt to rest of the nodes Ironically the GUI as per above to above screenshot which shows 753 and the recent command you suggested which I ran (Measure-Object) also gives 753 entries but CSV extracted from the GUI has less entries |
I would agree that that's a bit odd, because the GUI does indicate that there are exactly 753 tasks, so I would say 753 should be the correct amount of tasks. Depending on how familiar you are with Chrome Dev Tools, could you open Chrome Dev Tools and check the network tab which exact URI is being with for the csv_link endpoint? All I can think of is that there is a difference there. |
yaaa! :D I've checked the Chrome Dev Tools and please find the below details 1af913f6-6ad9-421b-bbf7-069a20e36a91_1335aadf-0501-4310-8582-33c9ca41b291.csv As per the command this is below URI 1af913f6-6ad9-421b-bbf7-069a20e36a91_d1d5b590-49c9-40db-a674-b3b9464dae64.csv So there's that difference! So how to go about the command retrives the exact content as per the no.of tasks viewed via GUI but the CSV URI not in sysnc to command output CSV URI |
Hello Jaap Brasser Get-RubrikReport -Name 'Protection Tasks Details' | Get-RubrikReportData | Select-Object -ExpandProperty DatagridObject so the above command is listing all the content like below ===========
|
No description provided.
The text was updated successfully, but these errors were encountered: