Hi @quangdv.6466
You didn't mention what version of kibana you're in, but assuming you're on 7.9.3 or 7.10 you could use lens to achieve what you need.
I'll try to walk you through similar example:
Go to Visualize -> Lens.
Inside the app, on the left side, choose the index pattern you want to work.
From the left side, move the field 'errorCode' to the right horizontal axis (x-axis).
Click on the freshly created 'Top values of errorCode' and change the number of values in the flyout that will open (depending on how many different errorCodes you expect):
The first one, Thanks Marta, i'm using Kibana 7.9.3. And, i know what you mean.
But the issue is that the errorCode is inside the message field. I don't know how I can get the errorCode from inside the message field out for statistics and fill whole result into vertical chart in lens.
Hope you can support me about this issue. Many thanks!
Oh ok, I see the problem now. The only option I see is to ingest your data differently so you have a separate field errorCode that you can then visualise.
Maybe someone else can give a better answer, but I don't think it's possible this way.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.