Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  how to save the output in CSV format

    Posted 04-07-2022 01:06:00 AM
    While running the below command using dxtoolkit, am not able to save the output in csv format
    whats wrong in the below command?
    dx_get_db_env -all -debug -format csv -save VDBStatus_all.csv

    karteek muthyala
    Delphix Community Members

  • 2.  RE: how to save the output in CSV format
    Best Answer

    Posted 04-07-2022 02:38:00 AM

    Hi Karteek

    I don't think the option -save creates a file as you are expecting

    Checking the help output for dx_get_db_env it says
    -save <filename > Save enabled column into JSON file

    I was able to create a csv by redirecting the output to a file, eg:
    ➜ dxtoolkit ./dx_get_db_env -all -format csv > output.csv



    Andrew McLennan
    Technical Support Engineer