I have tried doing this :
POST /washroom/_bulk
** {"index":{"_index":"washroom","_type":"doc"}}**
{"sno": 0,"feedback_toilet_id": "TOI100", "sensor_value": 3,"people_count": 6,"satisfied": 1,"med_satisfied": 1,"not_satisfied": 2,"rfid_value": "3","timestamp": "1529775125"} **
** {"index":{"_index":"washroom","_type":"doc"}}
{"sno": 1,"feedback_toilet_id": "TOI101", "sensor_value": 4,"people_count": 7,"satisfied": 2,"med_satisfied": 2,"not_satisfied": 3,"rfid_value": "4","timestamp": "1529775125"} **
** {"index":{"_index":"washroom","_type":"doc"}}
{"sno": 2,"feedback_toilet_id": "TOI102", "sensor_value": 5,"people_count": 8,"satisfied": 3,"med_satisfied": 3,"not_satisfied": 4,"rfid_value": "5","timestamp": "1529775125"} **
** {"index":{"_index":"washroom","_type":"doc"}}
{"sno": 3,"feedback_toilet_id": "TOI103", "sensor_value": 6,"people_count": 9,"satisfied": 4,"med_satisfied": 4,"not_satisfied": 5,"rfid_value": "6","timestamp": "1529775125"} **
** {"index":{"_index":"washroom","_type":"doc"}}
{"sno": 4,"feedback_toilet_id": "TOI104", "sensor_value": 7,"people_count": 10,"satisfied": 5,"med_satisfied": 5,"not_satisfied": 6,"rfid_value": "7","timestamp": "1529775125"} **
** {"index":{"_index":"washroom","_type":"doc"}}
{"sno": 5,"feedback_toilet_id": "TOI105", "sensor_value": 8,"people_count": 11,"satisfied": 6,"med_satisfied": 6,"not_satisfied": 7,"rfid_value": "8","timestamp": "1529775125"} **
** {"index":{"_index":"washroom","_type":"doc"}}
{"sno": 6,"feedback_toilet_id": "TOI106", "sensor_value": 9,"people_count": 12,"satisfied": 7,"med_satisfied": 7,"not_satisfied": 8,"rfid_value": "9","timestamp": "1529775125"} **
** {"index":{"_index":"washroom","_type":"doc"}}
{"sno": 7,"feedback_toilet_id": "TOI107", "sensor_value": 10,"people_count": 13,"satisfied": 8,"med_satisfied": 8,"not_satisfied": 9,"rfid_value": "10","timestamp": "1529775125"} **
** {"index":{"_index":"washroom","_type":"doc"}}
{"sno": 8,"feedback_toilet_id": "TOI108", "sensor_value": 11,"people_count": 14,"satisfied": 9,"med_satisfied": 9,"not_satisfied": 10,"rfid_value": "11","timestamp": "1529775125"} **
** {"index":{"_index":"washroom","_type":"doc"}}
{"sno": 9,"feedback_toilet_id": "TOI109", "sensor_value": 12,"people_count": 15,"satisfied": 10,"med_satisfied": 10,"not_satisfied": 11,"rfid_value": "12","timestamp": "1529775125"} **
** {"index":{"_index":"washroom","_type":"doc"}}
{"sno": 10,"feedback_toilet_id": "TOI1010", "sensor_value": 13,"people_count": 16,"satisfied": 11,"med_satisfied": 11,"not_satisfied": 12,"rfid_value": "13","timestamp": "1529775125"}
and it shows error :
{
** "statusCode": 504,**
** "error": "Gateway Time-out",**
** "message": "Client request timeout"**
}
what should i do?