Index filter doesn't work on Data Frame Analytics

I am new to elastic.

When I use the machine learning feature I find that Index filter does not seem to work on Data Frame Analytics.

I set the filter AveTicketPrice:500 to 600 on kibana_sample_data_flights and saved this search
image

When I try to use this search in Anomaly Detection, the filter works fine.

But I noticed that when this search was selected in Data Frame Analytics, the filter didn't take effect and the data outside the price range still appeared in the data display.
image

Is my way of using the filter wrong?

What should I do if I need to use data that meets certain criteria in Data Frame Analytics.

Thanks in advance.

shuiqu

Use the following KQL as your search filter in Kibana Discover:

AvgTicketPrice >= 500 and AvgTicketPrice <= 600

Save the search and use that as your basis for your Data Frame Analytics job

Thank you very much for your help.

It's working.

I would like to know: In Data Frame Analytics, is it only possible to use filters by KQL?

You can also use the standard Elasticsearch DSL (if you configure it via the API). Using the UI, however, limits you to using KQL.

I've created an issue to add support for this in Data Frame Analytics. Thanks!

Thank you very much for helping me.

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