# Metricbeat oracle module

**URL:** <https://discuss.elastic.co/t/metricbeat-oracle-module/253563>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 28, 2020, 1:09pm UTC](https://discuss.elastic.co/t/metricbeat-oracle-module/253563 "2020-10-28T13:09:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmeijboom](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dmeijboom](https://discuss.elastic.co/u/dmeijboom)\
**Post date:** [October 28, 2020, 1:09pm UTC](https://discuss.elastic.co/t/metricbeat-oracle-module/253563/1 "2020-10-28T13:09:47Z")

</div>

We are trying to connect the oracle module in metricbeat  
if we use  
hosts: ["oraclemonitor/apassword@//host:1521/TESTDV"]  
it works but then we see the password in plain text in the kibana message

And if we use this(in many different ways )  
hosts: ["@//host:1521/TESTDB"]  
username: oraclemonitor  
password: apassword

We are getting connections errors. Any suggestions ?  
We don't want the password in plain text in the message

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [October 29, 2020, 11:00am UTC](https://discuss.elastic.co/t/metricbeat-oracle-module/253563/2 "2020-10-29T11:00:08Z")

</div>

Hi!

I think that you need to remove the `@` character from the host. It is only used when you want to suffix the host with the credentials.

> **[Oracle module | Metricbeat Reference \[7.9\] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-oracle.html)**

---

<div class="post-metadata">

**Author:** ![dmeijboom](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dmeijboom](https://discuss.elastic.co/u/dmeijboom)\
**Post date:** [October 29, 2020, 3:44pm UTC](https://discuss.elastic.co/t/metricbeat-oracle-module/253563/3 "2020-10-29T15:44:39Z")

</div>

If I remove the "@" i am getting the following error:  
ERROR cfgfile/reload.go:273 Error loading config from file '/etc/metricbeat/modules.d/oracle.yml', error invalid config: yaml: line 9: did not find expected key

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [October 30, 2020, 10:01am UTC](https://discuss.elastic.co/t/metricbeat-oracle-module/253563/4 "2020-10-30T10:01:35Z")

</div>

This is not related to the host setting. This indicates that your config is not valid at line 9. Can you check your yml validity? Feel free to share your config here to have a look.

---

<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:** [November 27, 2020, 12:01pm UTC](https://discuss.elastic.co/t/metricbeat-oracle-module/253563/5 "2020-11-27T12:01:36Z")

</div>

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