We have many dashboards of having different field name but similar query logic. So the heading changes for each dashboard.
How to make the heading of the dropdown dynamic by giving token or defining macro?
Thanks in advance.
Are there some screenshots you could provide to show what you are trying to do? from how I understand, you are trying to change the dropdown of an input within a set of dashboards. however I would just name the dropdown as required for each dashboard. If you need the name to change, then control the value with a token, depending on how you want to show it.
The splunk dashboard examples app may have some content within which should help (https://splunkbase.splunk.com/app/1603/)