# Issue With logsatsh ssl configuration

**URL:** https://discuss.elastic.co/t/issue-with-logsatsh-ssl-configuration/163494
**Category:** Logstash
**Created:** [January 9, 2019, 9:39am UTC](https://discuss.elastic.co/t/issue-with-logsatsh-ssl-configuration/163494 "2019-01-09T09:39:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Aslamfarook](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aslamfarook/32/39614_2.png) [@Aslamfarook](https://discuss.elastic.co/u/Aslamfarook)
#### Post date: [January 9, 2019, 9:39am UTC](https://discuss.elastic.co/t/issue-with-logsatsh-ssl-configuration/163494/1 "2019-01-09T09:39:32Z")

</div>

Hi Team,

I am trying to connect my winlogbeat agent to ubuntu ELK with logstash by ssl authentication

Here is my winlogbeat.yml  
####################################################  
winlogbeat.event\_logs:

- name: Application  
ignore\_older: 72h
- name: Security
- name: System
- name: ForwardedEvents

#==================== Elasticsearch template setting ==========================

setup.template.settings:  
index.number\_of\_shards: 3  
#----------------------------- Logstash output --------------------------------  
output.logstash:

# The Logstash hosts

hosts:["serverip:5044"]  
#ssl.enabled:true  
#index: winlogbeat

# Optional SSL. By default is off.

# List of root certificates for HTTPS server verifications

tls:

- ssl.certificate\_authorities:["C:\Program Files\winlogbeat-6.5.4-windows-x86\_64\logstash-forwarder.crt"]
- ssl.verification\_mode: none

processors:

- add\_host\_metadata: ~
- add\_cloud\_metadata: ~  
##################################

Here is the error message while i running the configtest command

Exiting: error unpacking config data: can not convert 'string' into 'object' accessing 'output.logstash' (source:'winlog  
beat.yml') accessing 'output' (source:'winlogbeat.yml')

Please help me on this

ELK-Server: Runs in Docker ubuntu 16.04  
Winlogbeat Agent : Windows 2012r2

---

<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 6, 2019, 9:39am UTC](https://discuss.elastic.co/t/issue-with-logsatsh-ssl-configuration/163494/2 "2019-02-06T09:39:39Z")

</div>

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