dump onChat messages into elasticsearch