-
Notifications
You must be signed in to change notification settings - Fork 33
dx_get_event
Marcin Przepiorowski edited this page Jul 24, 2018
·
5 revisions
dx_get_event [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
[-st timestamp]
[-et timestamp]
[-format csv|json ]
[-outdir path]
[-help|? ] [ -debug ]
Get the list of events from Delphix Engine.
Delphix Engine selection - if not specified a default host(s) from dxtools.conf will be used.
- -engine|d Specify Delphix Engine name from dxtools.conf file
- -all Display databases on all Delphix appliance
- -configfile file Location of the configuration file. A config file search order is as follow:
- configfile parameter
- DXTOOLKIT_CONF variable
- dxtools.conf from dxtoolkit location
- -st timestamp Start time for event list - default value is 7 days Timestampt format is "YYYY-MM-DD [HH24:MI:[SS]]"
- -et timestamp End time for event list Timestampt format is "YYYY-MM-DD [HH24:MI:[SS]]"
- -format Display output in csv or json format If not specified pretty formatting is used.
- -outdir path Write output into a directory specified by path. Files names will include a timestamp and type name
- -help Print this screen
- -debug Turn on debugging
- -nohead Turn off header output
Display events from Delphix Engine
dx_get_event -d Landshark5
Appliance Alert Action Response Target name Timestamp Severity Title Description
-------------------- -------------------- -------------------- -------------------- ------------------------- ----------------------------------- --------------- -------------------- --------------------------------------------------
Landshark5 ALERT-8538 Contact Delphix Supp N/A system 2016-11-08 12:26:58 GMT WARNING Unexpected server re The server is starting up following an unexpected
Landshark5 ALERT-8539 N/A N/A VOra_744 2016-11-08 12:29:19 GMT INFORMATIONAL Job complete SOURCE_STOP job for "VOra_744" completed successfu
Landshark5 ALERT-8540 N/A N/A VOra_744 2016-11-08 12:29:19 GMT INFORMATIONAL Job complete SOURCE_DISABLE job for "VOra_744" completed succes
Landshark5 ALERT-8541 N/A N/A Analytics/VOra_744 2016-11-08 12:32:22 GMT INFORMATIONAL Job complete DB_DELETE job for "Analytics/VOra_744" completed s
Landshark5 ALERT-8542 N/A N/A system 2016-11-08 12:32:22 GMT INFORMATIONAL Job complete CAPACITY_RECLAMATION job completed successfully.
Landshark5 ALERT-8543 N/A N/A test 2016-11-08 12:40:14 GMT INFORMATIONAL Job complete SOURCE_STOP job for "test" completed successfully.
Landshark5 ALERT-8544 N/A N/A test 2016-11-08 12:40:15 GMT INFORMATIONAL Job complete SOURCE_DISABLE job for "test" completed successful
Export events from Delphix Engine into file
dx_get_event -d Landshark5 -outdir /tmp
Data exported into /tmp/events-20161108-16-08-01.txt
Delphix