Export result to clipboard in Kibana with ES|QL

Dear community,

I am wondering if there exists a way to copy data from result table to clipboard so it's formatted in markdown or similar syntax?

Lets take this ES|QL below it will generate up to maximum 20 rows. I would like to easily export this result to clipboad so I can paste it in another tool supporting rich markdown like Confluence or Jira (both are WYSIWYG editors).

Many thanks in advance.

FROM logs-*
| WHERE event.outcome == "failure"
| WHERE CIDR_MATCH(source.ip, "10.0.0.0/24")
| STATS failed_count = count() BY source.ip
| SORT failed_count DESC
| LIMIT 20

@dot-mike

Yes! It's a bit hidden but right there
Run your query
And then the table below set the field you want
Then select the rows you want or all the rows with the check boxes.
And then on the right on one of the little pull down menus you'll get copy as text or copy as json it's right there.

1 Like

Thanks @stephenb for the quick answer ! The clue was to mark the rows.. not very user friendly is it.

1 Like