Hi,
I am outputting to Elasticsearch with date specific indices. My server time zone is in IST but problem I am facing is my Elasticsearch index changes as per UTC time zone.
How can i change timezone or ES index creation time as per IST
Please find my output which I have writter.
output {
if [componentId] in [0,10] {
file {
path => "/home/manthanb/logstash_output.txt"
}
}else{
elasticsearch {
hosts => ["10.10.3.44:9200"]
index => "logstash-%{componentId}-%{+YYYY.MM.dd}"
}
}
}