# Creating Custom Classes for Kibana ML Classification

**URL:** <https://discuss.elastic.co/t/creating-custom-classes-for-kibana-ml-classification/249416>\
**Category:** Kibana\
**Tags:** elastic-stack-machine-learning\
**Created:** [September 21, 2020, 7:35pm UTC](https://discuss.elastic.co/t/creating-custom-classes-for-kibana-ml-classification/249416 "2020-09-21T19:35:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NomadicCodeGuy](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@NomadicCodeGuy](https://discuss.elastic.co/u/NomadicCodeGuy)\
**Post date:** [September 21, 2020, 7:35pm UTC](https://discuss.elastic.co/t/creating-custom-classes-for-kibana-ml-classification/249416/1 "2020-09-21T19:35:46Z")

</div>

I am using Elastic Stack for test log failure analysis. I would like to make a Data Frame Analytics classification job where I create my own classification categories(class labels.) It seems like the tool is currently set up to predict class labels based only on existing fields/terms rather than declaring my own class labels. Is it possible to somehow write my own custom classes and then train the model to classify new entries based on similarity to known class members? Thanks for your time and any guidance you can provide!

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [September 21, 2020, 8:24pm UTC](https://discuss.elastic.co/t/creating-custom-classes-for-kibana-ml-classification/249416/2 "2020-09-21T20:24:31Z")

</div>

I'd consider using the Log Categorization feature of Anomaly Detection: [https://www.elastic.co/guide/en/machine-learning/7.9/ml-configuring-categories.html](https://www.elastic.co/guide/en/machine-learning/7.9/ml-configuring-categories.html)

Video: [https://www.youtube.com/watch?v=wPd\_JWWfre4&list=PLhLSfisesZItMosBx0csZGld0n2htxXMO&ab\_channel=Elastic](https://www.youtube.com/watch?v=wPd_JWWfre4&list=PLhLSfisesZItMosBx0csZGld0n2htxXMO&ab_channel=Elastic)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 19, 2020, 8:24pm UTC](https://discuss.elastic.co/t/creating-custom-classes-for-kibana-ml-classification/249416/3 "2020-10-19T20:24:41Z")

</div>

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