# Can i use Histogram field and Boxplot with XPack Basic license?

**URL:** <https://discuss.elastic.co/t/can-i-use-histogram-field-and-boxplot-with-xpack-basic-license/221905>\
**Category:** Elasticsearch\
**Created:** [March 3, 2020, 2:48pm UTC](https://discuss.elastic.co/t/can-i-use-histogram-field-and-boxplot-with-xpack-basic-license/221905 "2020-03-03T14:48:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AtyNewman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/atynewman/32/63720_2.png) [@AtyNewman](https://discuss.elastic.co/u/AtyNewman)\
**Post date:** [March 3, 2020, 2:48pm UTC](https://discuss.elastic.co/t/can-i-use-histogram-field-and-boxplot-with-xpack-basic-license/221905/1 "2020-03-03T14:48:47Z")

</div>

I read the documentation here:  
[Histogram Datatype](https://www.elastic.co/guide/en/elasticsearch/reference/current/histogram.html)  
[BoxPlot](https://www.elastic.co/guide/en/elasticsearch/reference/master//search-aggregations-metrics-boxplot-aggregation.html)

I saw the Histogram datatype and Boxplot both connected to XPack, but in the subsciption page, i see that i can use Histogram data type with basic license:  
[Subscriptions](https://www.elastic.co/subscriptions)

In my cluster i enabled xpack.monitoring and i set  
xpack.license.self\_generated.type: basic

but when i go to Kibana and try to apply this:

```
POST my_index/_mapping
{
    "properties": {
      "my_histogram": {
        "type" : "histogram"
      },
      "my_text" : {
        "type" : "keyword"
      }
    }
}

```

I have this error:  
No handler for type [histogram] declared on field [my\_histogram]

Also when i try to do boxplot:  
{  
"size": 0,  
"aggs" : {  
"load\_time\_boxplot" : {  
"boxplot" : {  
"field" : "numeric\_field"  
}  
}  
}  
}

I have this issue:  
"type": "named\_object\_not\_found\_exception",  
"reason": "[5:25] unable to parse BaseAggregationBuilder with name [boxplot]: parser not found"

Have you any idea what i made wrong, or how can i configure my cluster to make it right?

Thank you very much!

---

<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:** [March 31, 2020, 2:48pm UTC](https://discuss.elastic.co/t/can-i-use-histogram-field-and-boxplot-with-xpack-basic-license/221905/2 "2020-03-31T14:48:52Z")

</div>

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