How to get time %{+YYYY-MM-dd HH:mm:ss} in my timezone

Description

I used the time %{+YYYY-MM-dd HH:mm:ss} in output file block,but the time is not in my timezone,how to get time in my timezone?

Environment

None

Status

Assignee

Logstash Developers

Reporter

kong zhen hao

Labels

Affects versions

Priority

Configure