# Jmx-input-plugin supports jmx authentication

**URL:** https://discuss.elastic.co/t/jmx-input-plugin-supports-jmx-authentication/166356
**Category:** Logstash
**Created:** [January 30, 2019, 12:43pm UTC](https://discuss.elastic.co/t/jmx-input-plugin-supports-jmx-authentication/166356 "2019-01-30T12:43:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![azam](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@azam](https://discuss.elastic.co/u/azam)
#### Post date: [January 30, 2019, 12:43pm UTC](https://discuss.elastic.co/t/jmx-input-plugin-supports-jmx-authentication/166356/1 "2019-01-30T12:43:27Z")

</div>

Hey all

We are trying to ship JMX data/metrics to our logstash. The problem is, our JMX uses authentication which is necessary to secure our applications. I would like to know, does jmx-input plugin supports authentication ? or in other terms how can we use authentication in the logstash configuration file ?

Thanks 🙂

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [January 30, 2019, 1:23pm UTC](https://discuss.elastic.co/t/jmx-input-plugin-supports-jmx-authentication/166356/2 "2019-01-30T13:23:38Z")

</div>

The JMX input [documentation](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jmx.html#_the_configuration) shows an example of supplying a username and password in json file used to configure the filter.

---

<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: [February 27, 2019, 1:23pm UTC](https://discuss.elastic.co/t/jmx-input-plugin-supports-jmx-authentication/166356/3 "2019-02-27T13:23:39Z")

</div>

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