# Kibana change log axis from count to custom name

**URL:** <https://discuss.elastic.co/t/kibana-change-log-axis-from-count-to-custom-name/260743>\
**Category:** Kibana\
**Created:** [January 11, 2021, 3:58pm UTC](https://discuss.elastic.co/t/kibana-change-log-axis-from-count-to-custom-name/260743 "2021-01-11T15:58:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![navin1093](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@navin1093](https://discuss.elastic.co/u/navin1093)\
**Post date:** [January 11, 2021, 3:58pm UTC](https://discuss.elastic.co/t/kibana-change-log-axis-from-count-to-custom-name/260743/1 "2021-01-11T15:58:07Z")

</div>

Hi experts,

Please share me reference whereby i would like to do a line graph wiht y axis displaying log level (trace, eror) and x-axis displaying as timestamp. The line will indicate the name of the logs. Please share your experience

---

<div class="post-metadata">

**Author:** ![Vadims\_Daleckis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vadims_daleckis/32/57613_2.png) [@Vadims\_Daleckis](https://discuss.elastic.co/u/Vadims_Daleckis)\
**Post date:** [January 12, 2021, 2:14pm UTC](https://discuss.elastic.co/t/kibana-change-log-axis-from-count-to-custom-name/260743/2 "2021-01-12T14:14:00Z")

</div>

Hi @navin1093,

The preferred way to do visualizations in Kibana is using Lens editor. To create a Lens visualization you need to go to Visualize app:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/9/f99d461b5349e888cc77b85ee3a171b6110d5b3a.png)

Click "Create visualization":

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f8c1fcd4a60117c75f99d4cf68185a2ac635862.png)

And select Lens editor:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/9/1965d4de909165295b9c25cb09e5e93e051f0050.png)

Further to learn how to create Lens charts you can read in this documentation: [https://www.elastic.co/guide/en/kibana/current/dashboard.html#lens](https://www.elastic.co/guide/en/kibana/current/dashboard.html#lens)

---

<div class="post-metadata">

**Author:** ![navin1093](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@navin1093](https://discuss.elastic.co/u/navin1093)\
**Post date:** [January 13, 2021, 3:12pm UTC](https://discuss.elastic.co/t/kibana-change-log-axis-from-count-to-custom-name/260743/3 "2021-01-13T15:12:27Z")

</div>

thanks for the reference. I will give a try and learn on this chart. Once i have implemented it, will reply with additional references by this week and will mark yours as solution

---

<div class="post-metadata">

**Author:** ![navin1093](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@navin1093](https://discuss.elastic.co/u/navin1093)\
**Post date:** [January 22, 2021, 6:13am UTC](https://discuss.elastic.co/t/kibana-change-log-axis-from-count-to-custom-name/260743/4 "2021-01-22T06:13:17Z")

</div>

i tried using lens, however, it does not allow string type .

---

<div class="post-metadata">

**Author:** ![navin1093](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@navin1093](https://discuss.elastic.co/u/navin1093)\
**Post date:** [January 22, 2021, 7:44am UTC](https://discuss.elastic.co/t/kibana-change-log-axis-from-count-to-custom-name/260743/5 "2021-01-22T07:44:08Z")

</div>

Here is the sample of graph i wish to have

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/9/993a9743bac0a30e917d0734270f2d12ff204e6d.png)

---

<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:** [February 19, 2021, 7:44am UTC](https://discuss.elastic.co/t/kibana-change-log-axis-from-count-to-custom-name/260743/6 "2021-02-19T07:44:19Z")

</div>

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