Elasticsearch input and output for Pigpen