A much more simple version of this question... but along the same lines. All over the google results for this people keep redirecting the questions with "don't use HTML, use a table module" when that's not what was asked... though the people ARE putting stuff in tables the HTML they're requesting help with, it's really not much of an answer for the next person coming along.
In my case I'm not making a table... but making a table IS a good simple example of what I DO want and a legit answer to those question would have been very helpful.
I have a search that returns a single tabled column. A list. I want that list displayed horizontally, comma separated.
So my search is, for example: index="smurf_village" | table smurf_name | dedup smurf_name
Which produces:
smurf_name
-------------------
grumpy
sleepy
clumsy
papa
And what I want is:
<div>The Smurf Names are: grumpy, sleepy, clumsy, papa</div>
And I'm at a standstill because it seems like an impossibility with Splunk to do this in a reasonable way...
Tried some javascript, but you can't enumerate the results that way... is $results[0]$, or any known quantity, really all that it's good for?