Hi guys,
-
I wanted to install logstash in windows 2019 server as my server is in AWS and my ES domain is also in AWS. Im directly using logsatsh to transfer logs to ES end point.
-
This is my logstash.conf file
input {
file {
path => "C:\testlog.log"
start_position => "beginning"
}
}
filter {
if [message] =~ /{.*}/ {
grok { match => { "message" => "(?<[@metadata][json]>({.*}))"} }
json { source => "[@metadata][json]" remove_field => [ "message" ] }
}
}
output {
amazon_es {
hosts => ["***********************************************"]
region => "*****"
index => "lgst-demologs-%{+YYYY.MM.dd}"
#user => "elastic"
#password => "changeme"
}
}
-
When i run this command
c:\logstash\bin\logstash.bat -f c:\logstash\bin\logstash.conf
-
I am getting the result as Logstash endpoint successfully started
-
But when i check in Kibana there is no logs been pushed or even index created and im not even getting any errors
Pls help me out