Id like to create table of results, and convert each row into an unordered bullet list using html.
Such as:
| table result (which has n number of results)
Then in the output, i want to show each in an unordered bullet list.
<html>
<ul>
<li> row.result.1
<li> row.result.2
<li> row.result.3
etc...
</ul>
</html>
Possible?
Hi @timgren
Something like this?
| eval row="<li>".result."</li>"
| stats values(row) as html_list
| eval html_list = "<ul>".mvjoin(html_list, "")."</ul>"
| table html_list
Full example
| makeresults count=3
| streamstats count
| eval result = "result".count
| table result
| eval row="<li>".result."</li>"
| stats values(row) as html_list
| eval html_list = "<ul>".mvjoin(html_list, "")."</ul>"
| table html_list
🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing