Can we read a variable in Kibana

Hi There,

is this possible to read a variable in Kibana and that variable contains some expression
for eg: vTotalSales = sum(sales)

thanks,
Dhandeep

@Dhandeep_Kumar

Do you wish to display the sum of sales or do you wish to use it in further calculations?

for further calculation mattkime

Can you explain the larger problem you're trying to solve?

hi mattkime,
I want to create a variable that will store some value and I will use that variable in my CSV field and when I load that CSV file into kibana. after that when I will create a table I will use that field.
for eg: -
in kibana I want to create this variable as below
image
This is my CSV file where I want to read that variable:
image

please help me
Thanks

Is each row an elasticsearch document? If so, I'd recommend using a scripted field - https://www.elastic.co/guide/en/kibana/current/scripted-fields.html

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