output {
elasticsearch {
hosts => localhost
index => "logstash(%{+yyyy.MM.dd})"
document_type =>"logstash"
}
stdout {
codec => rubydebug
}
}
index => "logstash(%{+yyyy.MM.dd})" now it use @timestamp and it is utc time
i don't want to change @timestamp ,i want to save index by my own time zone