# Explain how to add files to posts

**URL:** <https://forum.search-guard.com/t/explain-how-to-add-files-to-posts/1694>\
**Category:** Search Guard\
**Created:** [November 8, 2019, 4:00pm UTC](https://forum.search-guard.com/t/explain-how-to-add-files-to-posts/1694 "2019-11-08T16:00:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikew](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@mikew](https://forum.search-guard.com/u/mikew)\
**Post date:** [November 8, 2019, 4:00pm UTC](https://forum.search-guard.com/t/explain-how-to-add-files-to-posts/1694/1 "2019-11-08T16:00:24Z")

</div>

> When posting in this category, please add:
> 
> - [Elasticsearch logfiles on debug level](https://docs.search-guard.com/latest/troubleshooting-setting-log-level)
> 
> - Your Search Guard configuration files
> 
> - Your elasticsearch.yml configuration file

It would be really useful if the above text explained HOW to add configuration files. I always assumed that you had to copy/paste them in to the post because there is no other apparent way to do it. But that seems undesirable because it would create massively long posts. Then I noticed that someone had attached files to their post and wondered how they’d managed to do that. So I tried dragging a file from my file manage window to the compose window and found that the file gets uploaded. Maybe more people would attach all their config if it was explained how to do that. .[attachedfile.txt](https://forum.search-guard.com/uploads/short-url/Awdb3pUhf5pqr9uTuGXkDCOlnQ8.txt) (96 Bytes)

---

<div class="post-metadata">

**Author:** ![hsaly](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/hsaly/32/21_2.png) [@hsaly](https://forum.search-guard.com/u/hsaly)\
**Post date:** [November 11, 2019, 9:11pm UTC](https://forum.search-guard.com/t/explain-how-to-add-files-to-posts/1694/2 "2019-11-11T21:11:28Z")

</div>

done by adding: (You can just drag a file from your local file manager to the compose window)

---

<div class="post-metadata">

**Author:** ![hsaly](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/hsaly/32/21_2.png) [@hsaly](https://forum.search-guard.com/u/hsaly)\
**Post date:** [November 11, 2019, 9:11pm UTC](https://forum.search-guard.com/t/explain-how-to-add-files-to-posts/1694/3 "2019-11-11T21:11:45Z")

</div>


