Differences console and UI in ELK


(Soodabeh Zarezadeh) #1

Hi everyone
I use kibana with elasticsearch, now I am learning the ML part.
Is it possible help me know, there is any different between creating job by UI compared to console, I think the console has more feature and if the answer is yes, where I can find some example?
I couldn't find any proper example to learn.
Thanks


(David Kyle) #2

Hi,

Yes you can use the Machine Learning APIs in console the documentation is a good place to start.

The APIs are useful if you want to automate the creation of jobs or stopping/starting datafeeds. If you are getting started with Machine Learning I would stick to the UI it has all the features you need.


(Soodabeh Zarezadeh) #3

Thanks for ur reply.
so you say there isn't any different between UI and ML API?
and another question
I got an error when I want to start a datafeed, as beloww:
"datafeed [datafeed-total-requests] cannot retrieve field [timestamp] because it has no mappings"
I create and start datafeed by below code:

PUT _xpack/ml/datafeeds/datafeed-total-requests
{
  "job_id": "total-requests",
  "query": {
      "match_all": {}
    },
    "indices": [
      "server-*"
    ],
    "types": []
}

 `POST _xpack/ml/datafeeds/datafeed-total-requests/_start

My job is open and the "server-*" index has stored in elasticsearch before.
Thanks


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.