Elasticsearch: Save aggregations query into CSV file
问题 I have data such as: { "_index": "user_log", "_type": "logs", "_id": "gdUJpXIBAoADuwvHTK29", "_score": 1, "_source": { "user_id": 105, "user_name": "prathameshsalap@gmail.com", "working_hours": "2019-10-21 09:00:01", "date": "2019-10-21", "working_minutes": 540 } { "_index": "user_log", "_type": "logs", "_id": "gtUJpXIBAoADuwvHTK29", "_version": 1, "_score": 0, "_source": { "user_id": 106, "user_name": "vaishusawant143@gmail.com", "working_hours": "2019-10-21 09:15:01", "date": "2019-10-21",