How to select two fields on the same index


(NETHAJI) #1

Hi,

how to select two fields on the same chart?

because of i'm having two different column in my index based on the two column then only i can able to show the chart?

i can't able the solution.

is there any other option available?

kindly provide solution.


(Lukas Olson) #2

I'm not quite sure what you mean by "select two fields on the same chart". Could you provide a screenshot and a more detailed explanation of what you're trying to do? Thanks!


(NETHAJI) #3

i'm having this query in mysql.

select count(X) from Table1 where Y=1 and Z=1;

here i have two fields (X and Y) but in kibana there is no possible to select two fields i can able to select either Y or Z.

if i select one fields means i couldn't able to get the right answer


(Lukas Olson) #4

Couldn't you use the "add a filter" to create two filters, one where Y is 1 and one where Z is 1? Or you could simply type in the query bar "Y:1 AND Z:1".


(system) #5

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