[DOCS] Document Generative AI Token Usage dashboard in Gen AI connector (#162374)

## Summary

Contributes to https://github.com/elastic/security-docs/pull/3549;
documents the new Generative AI Token Usage dashboard.

Preview: [Generative AI connector | Token usage
dashboard](https://kibana_162374.docs-preview.app.elstc.co/guide/en/kibana/master/gen-ai-action-type.html#gen-ai-connector-token-dashboard)
This commit is contained in:
Joe Peeples 2023-07-26 11:55:16 -04:00 committed by GitHub
parent edb9561daa
commit 34e6997432
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,4 +86,12 @@ Body:: A JSON payload sent to the OpenAI API URL. For example:
[[gen-ai-connector-networking-configuration]]
=== Connector networking configuration
Use the <<action-settings, Action configuration settings>> to customize connector networking configurations, such as proxies, certificates, or TLS settings. You can set configurations that apply to all your connectors or use `xpack.actions.customHostSettings` to set per-host configurations.
Use the <<action-settings, Action configuration settings>> to customize connector networking configurations, such as proxies, certificates, or TLS settings. You can set configurations that apply to all your connectors or use `xpack.actions.customHostSettings` to set per-host configurations.
[float]
[[gen-ai-connector-token-dashboard]]
=== Token usage dashboard
Once you've created a Generative AI connector, you can monitor its token usage using the *Generative AI Token Usage* dashboard. Select the connector in *{stack-manage-app}* > *{connectors-ui}* to view its details, then click the *View OpenAI Usage Dashboard for "_<Name>_" Connector* link to open the dashboard.
NOTE: To view the dashboard, you need at least `read` and `view_index_metadata` privileges for the `.kibana-event-log-*` index and the `Read` feature privilege for {kib}. You can set up a role with these minimum privileges and assign it to non-admin users who need to view this dashboard.