Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Relative reference to columns

$
0
0
There's something I'm just not getting today... I've got a chart command that generates results from a series of searches, evals, and other processes. The net result is a nice little chart with results that looks like this: Location 2019 2020 Delta Main 980 1268 29.39 % The 2019 and 2020 are indeed years. My issue is that Delta is calculated based on those 2 columns as eval Delta=(('2020'-'2019')/'2019'*100) This is fine for this year, but of course it means we'd have to edit this dashboard again next year. How do I reference the relative column positions rather than the column names, or otherwise glean the column names from the dynamic data, in order to crunch the Delta value automagically?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>