# Functionbeat license error

**URL:** https://discuss.elastic.co/t/functionbeat-license-error/194129
**Category:** Beats
**Tags:** functionbeat
**Created:** [August 7, 2019, 3:19am UTC](https://discuss.elastic.co/t/functionbeat-license-error/194129 "2019-08-07T03:19:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![smahmud](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smahmud/32/51804_2.png) [@smahmud](https://discuss.elastic.co/u/smahmud)
#### Post date: [August 7, 2019, 3:19am UTC](https://discuss.elastic.co/t/functionbeat-license-error/194129/1 "2019-08-07T03:19:04Z")

</div>

I have successfully setup functionbeat on aws, but I am getting following license error, license manager stops and function stops:

2019-08-07T03:11:55.435Z INFO [functionbeat] beater/functionbeat.go:74 Functionbeat is running  
2019-08-07T03:11:55.435Z INFO elasticsearch/client.go:170 Elasticsearch url: [http://10.56.0.100:9200](http://10.56.0.100:9200)  
2019-08-07T03:11:55.435Z INFO [license-manager] licenser/manager.go:184 License manager started, retrieving initial license  
2019-08-07T03:11:55.435Z INFO [functionbeat] licenser/manager.go:331 Waiting on synchronous license check  
2019-08-07T03:11:55.435Z INFO [monitoring] log/log.go:118 Starting metrics logging every 30s  
2019-08-07T03:11:55.987Z INFO elasticsearch/client.go:743 Attempting to connect to Elasticsearch version 7.3.0  
2019-08-07T03:11:56.026Z INFO [license-manager] licenser/manager.go:282 Valid license retrieved {"license mode": "Open source", "type": "Open source", "status": "Active"}  
2019-08-07T03:11:56.026Z INFO [functionbeat] licenser/check.go:35 License is active for Basic  
2019-08-07T03:11:56.026Z INFO [functionbeat] licenser/manager.go:339 License is valid, mode: Open source  
2019-08-07T03:11:56.026Z INFO [license-manager] licenser/manager.go:211 License manager stopped  
2019-08-07T03:11:56.026Z INFO [functionbeat] beater/functionbeat.go:86 Functionbeat stopped running  
2019-08-07T03:11:56.028Z INFO [monitoring] log/log.go:154 Uptime: 639.743036ms  
2019-08-07T03:11:56.028Z INFO [monitoring] log/log.go:131 Stopping metrics logging.  
2019-08-07T03:11:56.028Z INFO instance/beat.go:431 functionbeat stopped.  
2019-08-07T03:11:56.028Z ERROR instance/beat.go:877 Exiting: invalid license  
Exiting: invalid license

Will appreciate quick response

---

<div class="post-metadata">

### Author: ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)
#### Post date: [August 7, 2019, 12:12pm UTC](https://discuss.elastic.co/t/functionbeat-license-error/194129/2 "2019-08-07T12:12:23Z")

</div>

You are trying to connect to an Elasticsearch with OSS license. You need at least Basic license in ES for Functionbeat to run. You can download ES with basic license here: [https://www.elastic.co/subscriptions](https://www.elastic.co/subscriptions)

---

<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: [August 28, 2019, 2:12am UTC](https://discuss.elastic.co/t/functionbeat-license-error/194129/3 "2019-08-28T02:12:36Z")

</div>

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