Your '<fieldForLabel> should be a field in the data from your search to use as the visible dropdown, not the text 'Space Label', so change it to space_name Also your search is probably better as index="lll_soruceIdx.idx"
| stats count by space_name so you don't first collapse all spaces and then expand them again.
... View more
So, I decided to fix how I ingested the data in the first place to make the Date column the timestamp. I added TIMESTAMP_FIELDS and FIELD_FORMAT to the conf file. This greatly simplified my queries. This is probably the right solution for me instead of doing something wrong and then making a convoluted workaround. Thanks for the suggestion.
... View more