index not created....
input {
cloudwatch {
access_key_id => "*****"
secret_access_key => "*******"
namespace => "AWS/S3"
metrics => ["BucketSizeBytes","NumberOfObjects"]
filters => { "BucketName" => "awsbilling" }
region => "us-west-2"
}
}
output {
stdout {
}
elasticsearch {
hosts => ["http://localhost:9200/"]
index => "dcloud_watch_aws"
}
}
[2018-03-16T10:36:34,675][INFO ][logstash.outputs.elasticsearch] New Elasticsearch output {:class=>"LogStash::Outputs::ElasticSearch", :hosts=>["http://localhost:9200/"]}
[2018-03-16T10:36:34,687][INFO ][logstash.pipeline ] Starting pipeline {"id"=>"main", "pipeline.workers"=>8, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>1000}
[2018-03-16T10:36:34,714][INFO ][logstash.pipeline ] Pipeline main started
[2018-03-16T10:36:34,723][INFO ][logstash.inputs.cloudwatch] Polling CloudWatch API
[2018-03-16T10:36:34,793][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2018-03-16T10:36:39,952][INFO ][logstash.inputs.cloudwatch] [AWS CloudWatch 200 4.945 0 retries] list_metrics(:namespace=>"AWS/S3")
[2018-03-16T10:36:39,953][INFO ][logstash.inputs.cloudwatch] Polling metric BucketSizeBytes
[2018-03-16T10:36:39,953][INFO ][logstash.inputs.cloudwatch] Filters: [{:name=>"BucketName", :values=>["awsbillinglocuz"]}]
[2018-03-16T10:36:39,953][INFO ][logstash.inputs.cloudwatch] Polling resource BucketName: awsbillinglocuz
[2018-03-16T10:36:40,478][INFO ][logstash.inputs.cloudwatch] [AWS CloudWatch 200 0.522 0 retries] get_metric_statistics(:dimensions=>[{:name=>"BucketName",:value=>"awsbillinglocuz"}],:end_time=>"2018-03-16T10:36:39+05:30",:metric_name=>"BucketSizeBytes",:namespace=>"AWS/S3",:period=>60,:start_time=>"2018-03-16T10:21:39+05:30",:statistics=>["SampleCount","Average","Minimum","Maximum","Sum"])
[2018-03-16T10:36:40,479][INFO ][logstash.inputs.cloudwatch] Polling metric NumberOfObjects
[2018-03-16T10:36:40,479][INFO ][logstash.inputs.cloudwatch] Filters: [{:name=>"BucketName", :values=>["awsbillinglocuz"]}]
[2018-03-16T10:36:40,480][INFO ][logstash.inputs.cloudwatch] Polling resource BucketName: awsbillinglocuz
[2018-03-16T10:36:41,039][INFO ][logstash.inputs.cloudwatch] [AWS CloudWatch 200 0.557 0 retries] get_metric_statistics(:dimensions=>[{:name=>"BucketName",:value=>"awsbillinglocuz"}],:end_time=>"2018-03-16T10:36:40+05:30",:metric_name=>"NumberOfObjects",:namespace=>"AWS/S3",:period=>60,:start_time=>"2018-03-16T10:21:40+05:30",:statistics=>["SampleCount","Average","Minimum","Maximum","Sum"])
Logstash :-6.1.1
ES:-6.1.1
plugin :- 2.0.3
can any one suggest how to solve this issue