fixed timechart NPE when _time field does not exist
added auto completion helpers for log api script commands