December 8, 2022, 5:03am
I have a runtime field called "throughput_in" with type long and the following script:
emit(doc['volume_uplink'].value / doc['duration'].value)
and a field called "throughput_out" with type long:
emit(doc['volume_downlink'].value / doc['duration'].value)
I want to use the runtime field in another runtime field called "throughput_total" with type long:
emit(doc['throughput_in'].value + doc['throughput_out'].value)
but the autocomplete doesn't show the runtime field. Is doing this possible?
maybe a composite runtime field can work in your case?
December 21, 2022, 6:13am
I found out that you can use runtime field to another runtime field (in this case, using runtime field throughput_in and throughput_out to produce throughput_total). The field just doesn't appear in autocomplete, but it is possible to do it.
January 18, 2023, 6:13am
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.