Elasticsearch files in tmp folder: how to change there location

Hello guys,
I have set up elk in linx server using tar, but my tmp directory gets filled with files in following formates


How to change there location?

You can control this with the $ES_TMPDIR environment variable.

we set it like this right export ES_TMDIR = /tmp/ES then restart es, right?

It'll be something like that. The exact details are more of a sysadmin question which will depend on your system - this isn't the best place to get help on that. As long as $ES_TMPDIR is set when Elasticsearch starts then it should be happy.

i did this even


gives me this
but still Elasticsearch files are getting created in /tmp directory only

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