custom command를 이용하여 oracle output 하기

결과

index=_internal | head 10
| eval TIME=strftime(_time, "%Y/%m/%d %H:%M:%S") | table TIME, action, method
| dbout type="sql" "insert into DBX (DTM, ACTIONS, METHODS) values(TO_TIMESTAMP($TIME$, 'YYYY-MM-DD HH24:MI:SS'), $action$, $method$)"

명령어 예제

입력후 결과 확인