Cannot get data link to work on TimeSeries when field contains a string

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?
    Trying to get Data Link on a TimeSeries visualization to work with a data series field that contains a string (works great when field is a number).

  • How are you trying to achieve it?
    On a Table visualization, I am using a field override for a string field, then adding a Data Link using the contents of that string field as a variable in the URL. My data series contains several number and several string fields.

On a TimeSeries visualization, my data series is the same as my Table panel, several number and several string fields. When I try to configure a field override, the Data Link will not work because there appears to be only two fields present that can have overrides. If I try index past field[1], I get undefined, because there is no field value available. I can index field[0] and field[1] just fine.

  • What happened?
    When viewing the panel editor, the “table” view shows all my fields. The TimeSeries chart, however, does not seem to have all of the fields available to override.

  • What did you expect to happen?
    My Table panel allows my to override one of my string fields with a Data Link override, and it works great to pass the string as a variable to a dashboard URL. My TimeSeries panel does not show a datalink available when I click on a datapoint, because there is no string field available to override.

  • Can you copy/paste the configuration(s) that you are having problems with?
    Yes. I will upload images of my configuration.

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No error logs that I know of.

  • Did you follow any online instructions? If so, what is the URL?
    I followed instructions for field overrides, and for a Table panel, everything works quite nicely.

I should mention that the datasource and query are identical for the Table panel and the TimeSeries panel, so both panels have all the same fields to apply the field overrides.