Documentation Index
Fetch the curated documentation index at: https://grafana_com_website/llms.txt
Fetch the complete documentation index at: https://grafana_com_website/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: /docs/grafana-cloud/send-data/alloy/reference/stdlib/convert.md (append .md) or send Accept: text/markdown to /docs/grafana-cloud/send-data/alloy/reference/stdlib/convert/. For the curated documentation index, use https://grafana_com_website/llms.txt. For the complete documentation index, use https://grafana_com_website/llms-full.txt.
convert
The convert namespace contains conversion functions.
nonsensitive
convert.nonsensitive converts a secret value back into a string.
Warning
Only use
convert.nonsensitivewhen you are positive that the value converted back to a string isn’t a sensitive value.Strings resulting from calls to
convert.nonsensitiveare displayed in plain text in the UI and internal API calls.
Examples
// Assuming `sensitive_value` is a secret:
> sensitive_value
(secret)
> convert.nonsensitive(sensitive_value)
"Hello, world!"Was this page helpful?
Related resources from Grafana Labs


