# Segments via Elasticsearch + Kibana

**URL:** https://forum.mautic.org/t/segments-via-elasticsearch-kibana/26198
**Category:** Ideas and Feature Requests
**Created:** [November 25, 2022, 10:04am UTC](https://forum.mautic.org/t/segments-via-elasticsearch-kibana/26198 "2022-11-25T10:04:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xmontero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/xmontero/32/7499_2.png) [@xmontero](https://forum.mautic.org/u/xmontero)
#### Post date: [November 25, 2022, 10:04am UTC](https://forum.mautic.org/t/segments-via-elasticsearch-kibana/26198/1 "2022-11-25T10:04:37Z")

</div>

ElasticSearch is the 1st-class ultra-fast free opensource big data processor.

Probably you’ve heard that ElasticSearch automatically indexes all objects and is superb at creating “buckets” (ie: segments).

And best of all it makes it “instantly”. No crons, no background sub-processes, no delays.

In addition the incredible free & open-sourced Kibana allows to manage any ElasticSeearch instance easily. I worked in a company where marketers used a Kibana to run all the analysis with zero-training, zero-code, zero-cost.

Of course one should be able to create and manage buckets (segments) from the Kibana frontend.

Couple of links:

- [https://blog.csdn.net/UbuntuTouch/article/details/103679273](https://blog.csdn.net/UbuntuTouch/article/details/103679273) (no matter the language, see images and overall idea)
- [Kibana - Aggregation And Metrics](https://www.tutorialspoint.com/kibana/kibana_aggregation_and_metrics.htm)

# I wonder…

Has anyone in the core team explored the idea to optionally enabling to shift the segments rebuilding into ElasticSearch and manage them from a Kibana?

ie this bidi-sync:

1. All contacts created in Mautic immediately “dumped” to an ElasticSearch. All edits to the contact as well.
2. All the buckets generated in ElasticSearch “dumped” into Mautic segments for instant utilization.

## Has anyone analyzed this approach?
