thanks for your time @jsoriano
I deleted the index and restarted the metricbeat service. but now There is no index with the name metricbeat-*.
but I checked the mericbeat logs. events are being published. If you see the logs
2018-04-24T04:56:19.923Z DEBUG [publish] pipeline/processor.go:275 Publish event: {
"@timestamp": "2018-04-24T04:56:19.923Z",
"@metadata": {
"beat": "metricbeat",
"type": "doc",
"version": "6.2.3"
},
"beat": {
"host": "EC2AMAZ-1763048",
"uuid": "91660025-6f14-4568-abd9-f067c108ff65",
"type": "metricbeat",
"version": "6.2.3",
"name": "EC2AMAZ-1763048"
},
"metrics": {
"libbeat": {
"config": {
"reloads": 1,
"module": {
"stops": 0,
"running": 0,
"starts": 0
}
},
"output": {
"type": "elasticsearch",
"events": {
"duplicates": 0,
"active": 0,
"batches": 0,
"total": 0,
"acked": 0,
"failed": 0,
"dropped": 0
},
"write": {
"bytes": 0,
"errors": 0
},
"read": {
"errors": 0,
"bytes": 0
}
},
"pipeline": {
"queue": {
"acked": 0
},
"clients": 0,
"events": {
"filtered": 0,
"published": 0,
"failed": 0,
"dropped": 0,
"retry": 0,
"active": 0,
"total": 0
}
}
},
"beat": {
"cpu": {
"system": {
"ticks": 250,
"time": 250
},
"total": {
"value": 312,
"ticks": 312,
"time": 312
},
"user": {
"ticks": 62,
"time": 62
}
},
"info": {
"ephemeral_id": "1846543e-d9e4-4285-b230-fd216db365da",
"uptime": {
"ms": 61534
}
},
"memstats": {
"gc_next": 4243856,
"rss": 63811584,
"memory_total": 12686560,
"memory_alloc": 3568968
}
},
"system": {
"cpu": {
"cores": 2
}
},
"xpack": {
"monitoring": {
"pipeline": {
"events": {
"filtered": 0,
"published": 5,
"failed": 0,
"dropped": 0,
"retry": 1,
"active": 0,
"total": 5
},
"queue": {
"acked": 5
},
"clients": 1
}
}
}
}
}
I've used the documentation to install and start the metricbeat. I have imported the dashboards anmd index as well. but not sure why index is not created.
Please Help