Providing user defined fields in kibana graph

(vinoo subramaniam kanakasabapathy) #1

I want to keep user fields like..X axis OperationName fetched from parsing logs.. Y axis respective time taken from parsing logs.

I could see only @timestamp and geo fields in graph part. Please advise

(Thomas Neirynck) #2

hi @vinoossk,

What does your data look like? Are you using the sample Kibana logstash data?

What kind of graph do you want to do? Vertical bar chart/line chart?

(vinoo subramaniam kanakasabapathy) #3

Hi @thomasneirynck

In my kibana i will get fields like operationID and Timetaken

tOpId getProduct, getSPRL2, getSPRL2, TK_GDP_XTEML
tTimeTaken 27, 2954, 426, 293

I want to keep OpID in X axis and time taken in Y axis

(Thomas Neirynck) #4

It seems like timeTaken is not a date field, but a number field.

In the Y-axis dropdown of the Visualization, select "Histogram" (not "Date Histogram"). This should give you the ability to select timeTaken from the drop-down.

(system) #5