# Your settings are invalid. Reason: Setting "" doesn't exist. Please check if you haven't made a typo

**URL:** <https://discuss.elastic.co/t/your-settings-are-invalid-reason-setting-doesnt-exist-please-check-if-you-havent-made-a-typo/380079>\
**Category:** Logstash\
**Created:** [July 13, 2025, 5:46pm UTC](https://discuss.elastic.co/t/your-settings-are-invalid-reason-setting-doesnt-exist-please-check-if-you-havent-made-a-typo/380079 "2025-07-13T17:46:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venality](https://avatars.discourse-cdn.com/v4/letter/v/a88e4f/32.png) [@Venality](https://discuss.elastic.co/u/Venality)\
**Post date:** [July 13, 2025, 5:46pm UTC](https://discuss.elastic.co/t/your-settings-are-invalid-reason-setting-doesnt-exist-please-check-if-you-havent-made-a-typo/380079/1 "2025-07-13T17:46:54Z")

</div>

Hi guys, I'm trying to write the config file for logstash to communicate with splunk and I keep getting this error. Not sure what I'm doing wrong and could use some input.

This is my first time using it so here's the config:

```auto
input {
  beats {
    port => 5044
  }
}

output {
  http {
    url => "https://126.0.0.1:8088"
    http_method => "post"
    format => "json"
    headers => {
      "Authorization" => "Splunk 81e474c9-2584-4e99-b6d1-d1964daef81x"
    }
  }
}

```

---

<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:** [July 13, 2025, 6:30pm UTC](https://discuss.elastic.co/t/your-settings-are-invalid-reason-setting-doesnt-exist-please-check-if-you-havent-made-a-typo/380079/2 "2025-07-13T18:30:01Z")

</div>

That error suggests an issue in logstash.yml. What do you have in that file?

---

<div class="post-metadata">

**Author:** ![Venality](https://avatars.discourse-cdn.com/v4/letter/v/a88e4f/32.png) [@Venality](https://discuss.elastic.co/u/Venality)\
**Post date:** [July 13, 2025, 10:54pm UTC](https://discuss.elastic.co/t/your-settings-are-invalid-reason-setting-doesnt-exist-please-check-if-you-havent-made-a-typo/380079/3 "2025-07-13T22:54:19Z")

</div>

Oh I'm an idiot, I had edited the file originally because I assumed it was the config file, once I realized it wasn't, I deleted everything I put but it left a blank line at the end and that's what was causing it. Thanks!
