# Most basic Logstash to secure cluster.conf

**URL:** <https://discuss.elastic.co/t/most-basic-logstash-to-secure-cluster-conf/163376>\
**Category:** Logstash\
**Created:** [January 8, 2019, 1:57pm UTC](https://discuss.elastic.co/t/most-basic-logstash-to-secure-cluster-conf/163376 "2019-01-08T13:57:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigdamhero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigdamhero/32/34478_2.png) [@bigdamhero](https://discuss.elastic.co/u/bigdamhero)\
**Post date:** [January 8, 2019, 1:57pm UTC](https://discuss.elastic.co/t/most-basic-logstash-to-secure-cluster-conf/163376/1 "2019-01-08T13:57:02Z")

</div>

Continued troubles, frustration rising.

Version 6.5.4  
Logstash running on Ubuntu 16 - OpenJDK

I'm looking for recommendations on the easiest .conf file to test a connection.

Should I pull syslog? no filter?

What would you do?

---

<div class="post-metadata">

**Author:** ![bigdamhero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigdamhero/32/34478_2.png) [@bigdamhero](https://discuss.elastic.co/u/bigdamhero)\
**Post date:** [January 8, 2019, 2:17pm UTC](https://discuss.elastic.co/t/most-basic-logstash-to-secure-cluster-conf/163376/2 "2019-01-08T14:17:45Z")

</div>

I'm thinking to create a file input. Can anyone share a simple file input formatted .conf sample?

Thank you

---

<div class="post-metadata">

**Author:** ![bigdamhero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bigdamhero/32/34478_2.png) [@bigdamhero](https://discuss.elastic.co/u/bigdamhero)\
**Post date:** [January 8, 2019, 3:42pm UTC](https://discuss.elastic.co/t/most-basic-logstash-to-secure-cluster-conf/163376/3 "2019-01-08T15:42:14Z")

</div>

I created this test.conf file, tested it on my non secure environment and got it working in about 15 min. I tried to move it to my secure environment, im not getting many errors but not sure how to address the few i have.

Here is the cat of my test.conf

> ```
> #Simple basic test file
> #
> input {
> file {
> type => "logstash-logs"
> path => "/var/log/logstash/logstash-plain.log"
> # sincedb_path => "/var/log/logstash/dead.letter.cue"
> # codec => multiline {
> # pattern => "^\*\*"
> # negate => true
> # what => "previous"
> # }
> }
> }
> 
> output {
> elasticsearch {
> hosts => "https://ealstic-node-1:9200"
> index => "testlog-%{+YYYY.MM.dd}"
> user => "logstash_internal"
> password => 'password'
> ssl => true
> # cacert => "/etc/logstash/config/certs/cert.crt"
> cacert => "/usr/share/logstash/config/certs/cert.crt"
> }
> }
> 
> ```

Let me know if you see anything.  
Thank you for your time.

---

<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 5, 2019, 3:42pm UTC](https://discuss.elastic.co/t/most-basic-logstash-to-secure-cluster-conf/163376/4 "2019-02-05T15:42:21Z")

</div>

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