Kibana pie chart for text data












0















I have text data in Elastic, field name is buildResult, type is text and value can be either Success or Failure:



enter image description hereenter image description here



I want to have Pie chart to illustrate Success vs Failure



Could you please advice on chart setup or share some example for text type?










share|improve this question























  • You can start from here elastic.co/guide/en/kibana/current/_pie_chart.html

    – Kamal
    Nov 26 '18 at 8:56
















0















I have text data in Elastic, field name is buildResult, type is text and value can be either Success or Failure:



enter image description hereenter image description here



I want to have Pie chart to illustrate Success vs Failure



Could you please advice on chart setup or share some example for text type?










share|improve this question























  • You can start from here elastic.co/guide/en/kibana/current/_pie_chart.html

    – Kamal
    Nov 26 '18 at 8:56














0












0








0








I have text data in Elastic, field name is buildResult, type is text and value can be either Success or Failure:



enter image description hereenter image description here



I want to have Pie chart to illustrate Success vs Failure



Could you please advice on chart setup or share some example for text type?










share|improve this question














I have text data in Elastic, field name is buildResult, type is text and value can be either Success or Failure:



enter image description hereenter image description here



I want to have Pie chart to illustrate Success vs Failure



Could you please advice on chart setup or share some example for text type?







kibana






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 25 '18 at 20:33









kagarlickijkagarlickij

9671722




9671722













  • You can start from here elastic.co/guide/en/kibana/current/_pie_chart.html

    – Kamal
    Nov 26 '18 at 8:56



















  • You can start from here elastic.co/guide/en/kibana/current/_pie_chart.html

    – Kamal
    Nov 26 '18 at 8:56

















You can start from here elastic.co/guide/en/kibana/current/_pie_chart.html

– Kamal
Nov 26 '18 at 8:56





You can start from here elastic.co/guide/en/kibana/current/_pie_chart.html

– Kamal
Nov 26 '18 at 8:56












2 Answers
2






active

oldest

votes


















1














Split the piechart using text filters to get the result you want.



The picture below is taken from the data configuration of the piechart visualization in Kibana.



This works for string fields - I guess it would work for text fields also.



enter image description here






share|improve this answer
























  • Thanks, that did exactly what needed

    – kagarlickij
    Nov 26 '18 at 16:35



















1














From what i know the best way is to use keyword data type in these cases



elasticsearch keyword



when the field is keyword you can use simple terms aggregation to split the pie between the deferent keywords






share|improve this answer
























  • Thanks, that worked, but to use data type change was required

    – kagarlickij
    Nov 26 '18 at 16:35











  • I think you can do it on text field as well

    – tomas
    Nov 26 '18 at 18:47











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53471662%2fkibana-pie-chart-for-text-data%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Split the piechart using text filters to get the result you want.



The picture below is taken from the data configuration of the piechart visualization in Kibana.



This works for string fields - I guess it would work for text fields also.



enter image description here






share|improve this answer
























  • Thanks, that did exactly what needed

    – kagarlickij
    Nov 26 '18 at 16:35
















1














Split the piechart using text filters to get the result you want.



The picture below is taken from the data configuration of the piechart visualization in Kibana.



This works for string fields - I guess it would work for text fields also.



enter image description here






share|improve this answer
























  • Thanks, that did exactly what needed

    – kagarlickij
    Nov 26 '18 at 16:35














1












1








1







Split the piechart using text filters to get the result you want.



The picture below is taken from the data configuration of the piechart visualization in Kibana.



This works for string fields - I guess it would work for text fields also.



enter image description here






share|improve this answer













Split the piechart using text filters to get the result you want.



The picture below is taken from the data configuration of the piechart visualization in Kibana.



This works for string fields - I guess it would work for text fields also.



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 26 '18 at 8:10









Gal SGal S

757313




757313













  • Thanks, that did exactly what needed

    – kagarlickij
    Nov 26 '18 at 16:35



















  • Thanks, that did exactly what needed

    – kagarlickij
    Nov 26 '18 at 16:35

















Thanks, that did exactly what needed

– kagarlickij
Nov 26 '18 at 16:35





Thanks, that did exactly what needed

– kagarlickij
Nov 26 '18 at 16:35













1














From what i know the best way is to use keyword data type in these cases



elasticsearch keyword



when the field is keyword you can use simple terms aggregation to split the pie between the deferent keywords






share|improve this answer
























  • Thanks, that worked, but to use data type change was required

    – kagarlickij
    Nov 26 '18 at 16:35











  • I think you can do it on text field as well

    – tomas
    Nov 26 '18 at 18:47
















1














From what i know the best way is to use keyword data type in these cases



elasticsearch keyword



when the field is keyword you can use simple terms aggregation to split the pie between the deferent keywords






share|improve this answer
























  • Thanks, that worked, but to use data type change was required

    – kagarlickij
    Nov 26 '18 at 16:35











  • I think you can do it on text field as well

    – tomas
    Nov 26 '18 at 18:47














1












1








1







From what i know the best way is to use keyword data type in these cases



elasticsearch keyword



when the field is keyword you can use simple terms aggregation to split the pie between the deferent keywords






share|improve this answer













From what i know the best way is to use keyword data type in these cases



elasticsearch keyword



when the field is keyword you can use simple terms aggregation to split the pie between the deferent keywords







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 25 '18 at 21:40









tomastomas

10011




10011













  • Thanks, that worked, but to use data type change was required

    – kagarlickij
    Nov 26 '18 at 16:35











  • I think you can do it on text field as well

    – tomas
    Nov 26 '18 at 18:47



















  • Thanks, that worked, but to use data type change was required

    – kagarlickij
    Nov 26 '18 at 16:35











  • I think you can do it on text field as well

    – tomas
    Nov 26 '18 at 18:47

















Thanks, that worked, but to use data type change was required

– kagarlickij
Nov 26 '18 at 16:35





Thanks, that worked, but to use data type change was required

– kagarlickij
Nov 26 '18 at 16:35













I think you can do it on text field as well

– tomas
Nov 26 '18 at 18:47





I think you can do it on text field as well

– tomas
Nov 26 '18 at 18:47


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53471662%2fkibana-pie-chart-for-text-data%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Futebolista

Feedback on college project

Albești (Vaslui)