Change the index nameedit

Functionbeat uses data streams named functionbeat-8.15.0. To use a different name, set the index option in the Elasticsearch output. You also need to configure the and setup.template.pattern options to match the new name. For example:

output.elasticsearch.index: "customname-%{[agent.version]}" "customname-%{[agent.version]}"
setup.template.pattern: "customname-%{[agent.version]}"

For a full list of template setup options, see Elasticsearch index template.

Remember to change the index name when you load dashboards via the Kibana UI.