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


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
add a comment |
I have text data in Elastic, field name is buildResult, type is text and value can be either Success or Failure:


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
You can start from here elastic.co/guide/en/kibana/current/_pie_chart.html
– Kamal
Nov 26 '18 at 8:56
add a comment |
I have text data in Elastic, field name is buildResult, type is text and value can be either Success or Failure:


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
I have text data in Elastic, field name is buildResult, type is text and value can be either Success or Failure:


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
kibana
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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.

Thanks, that did exactly what needed
– kagarlickij
Nov 26 '18 at 16:35
add a comment |
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
Thanks, that worked, but to use data type change was required
– kagarlickij
Nov 26 '18 at 16:35
I think you can do it ontextfield as well
– tomas
Nov 26 '18 at 18:47
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.

Thanks, that did exactly what needed
– kagarlickij
Nov 26 '18 at 16:35
add a comment |
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.

Thanks, that did exactly what needed
– kagarlickij
Nov 26 '18 at 16:35
add a comment |
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.

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.

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
add a comment |
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
add a comment |
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
Thanks, that worked, but to use data type change was required
– kagarlickij
Nov 26 '18 at 16:35
I think you can do it ontextfield as well
– tomas
Nov 26 '18 at 18:47
add a comment |
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
Thanks, that worked, but to use data type change was required
– kagarlickij
Nov 26 '18 at 16:35
I think you can do it ontextfield as well
– tomas
Nov 26 '18 at 18:47
add a comment |
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
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
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 ontextfield as well
– tomas
Nov 26 '18 at 18:47
add a comment |
Thanks, that worked, but to use data type change was required
– kagarlickij
Nov 26 '18 at 16:35
I think you can do it ontextfield 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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
You can start from here elastic.co/guide/en/kibana/current/_pie_chart.html
– Kamal
Nov 26 '18 at 8:56