IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

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