# How to prevent appending date.ndjson to the parsed output file

**URL:** https://discuss.elastic.co/t/how-to-prevent-appending-date-ndjson-to-the-parsed-output-file/378204
**Category:** Beats
**Tags:** filebeat
**Created:** [May 15, 2025, 9:14pm UTC](https://discuss.elastic.co/t/how-to-prevent-appending-date-ndjson-to-the-parsed-output-file/378204 "2025-05-15T21:14:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![MelasticSan](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@MelasticSan](https://discuss.elastic.co/u/MelasticSan)
#### Post date: [May 15, 2025, 9:14pm UTC](https://discuss.elastic.co/t/how-to-prevent-appending-date-ndjson-to-the-parsed-output-file/378204/1 "2025-05-15T21:14:46Z")

</div>

How can I prevent filebeat from adding a "date.ndjson" to the outputfile I specify ? Is this possible

```auto
output.file:
  path: "/tmp/filebeat"
  filename: filebeat.log

```

```auto
ls /tmp/filebeat/filebeat.log*
/tmp/filebeat/filebeat.log-20250515-1.ndjson  
/tmp/filebeat/filebeat.log-20250515-2.ndjson

```

Is there a way to not append that extension ? I moved from 7.x to 8.x recently and see this change . Earlier it would just create filebeat.log .

Reference - [Configure the File output | Elastic Documentation](https://www.elastic.co/docs/reference/beats/filebeat/file-output#_filename)
