# Functionbeat failing to deploy due to Alphanumeric Error

**URL:** <https://discuss.elastic.co/t/functionbeat-failing-to-deploy-due-to-alphanumeric-error/159650>\
**Category:** Beats\
**Created:** [December 6, 2018, 4:15am UTC](https://discuss.elastic.co/t/functionbeat-failing-to-deploy-due-to-alphanumeric-error/159650 "2018-12-06T04:15:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![musayev-io](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/musayev-io/32/66245_2.png) [@musayev-io](https://discuss.elastic.co/u/musayev-io)\
**Post date:** [December 6, 2018, 4:15am UTC](https://discuss.elastic.co/t/functionbeat-failing-to-deploy-due-to-alphanumeric-error/159650/1 "2018-12-06T04:15:15Z")

</div>

I'm trying to deploy Functionbeat with CloudWatch triggers that have dashes and underscores. I'm unable to do so, as I get an error message saying:

**Function: elasticfunctionbeat, could not deploy, error: ValidationError: Template format error: Resource name fnbelasticfunctionbeatSubscriptionFilterawslambdanovaaccountmusacancel\_pre\_configure is non alphanumeric.**

I understand this ValidationError is caused by AWS's restrictions to Alphanumeric names for Resources in CloudFormation ([AWS](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html)).

The original log group that the Functionbeat is subscribed to is: /aws/lambda/nova-account-musa-cancel\_pre\_configure

The CloudFormation resource that was created is the following:

```auto
"fnbelasticfunctionbeatSubscriptionFilterawslambdanovaaccountmusaupdate_status_info": {
      "Properties": {
        "DestinationArn": {
          "Fn::GetAtt": [
            "fnbelasticfunctionbeat",
            "Arn"
          ]
        },
        "FilterPattern": "",
        "LogGroupName": "/aws/lambda/nova-account-musa-update_status_info"
      },
      "Type": "AWS::Logs::SubscriptionFilte
    }
  }

```

Looking at the CloudFormation resource that Functionbeat creates from the functionbeat.yml, the dashes get converted to "" but the underscores remain underscores, causing the ValidationError.

**Version:** functionbeat-6.5.2-darwin-x86\_64

Has anyone else run into this issue?

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [December 6, 2018, 1:14pm UTC](https://discuss.elastic.co/t/functionbeat-failing-to-deploy-due-to-alphanumeric-error/159650/2 "2018-12-06T13:14:19Z")

</div>

Thats a bug on our side that should be either catched by our config or normalized, would you mind creating an issue on our bug tracker at [https://github.com/elastic/beats](https://github.com/elastic/beats)

---

<div class="post-metadata">

**Author:** ![musayev-io](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/musayev-io/32/66245_2.png) [@musayev-io](https://discuss.elastic.co/u/musayev-io)\
**Post date:** [December 11, 2018, 4:52pm UTC](https://discuss.elastic.co/t/functionbeat-failing-to-deploy-due-to-alphanumeric-error/159650/3 "2018-12-11T16:52:17Z")

</div>

How long does it usually take to get a response/acknowledgement from the development team?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 8, 2019, 6:52pm UTC](https://discuss.elastic.co/t/functionbeat-failing-to-deploy-due-to-alphanumeric-error/159650/4 "2019-01-08T18:52:26Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
