xpack.ml.putDatafeed

edit
client.xpack.ml.putDatafeed({
  datafeed_id: string,
  body: object
})

Reference

datafeed_id or datafeedId

string - The ID of the datafeed to create

body

object - The datafeed config