The hs_create_recording_session command starts a recording session definition. After issuing this command, you further define the recording session by issuing other commands to create views, filters, and alarms for the recording session.
To end the recording session definition, use either:
hs_initiate_recording – signals that the definition is complete and enables the recording session to start at the session’s specified start time.
hs_terminate_recording – cancels a recording session definition that is in progress.