Is it possible to minimize the log size?


(Murali Sarala) #1

I want to limit the size of elastic search log file and make it circular by giving the size


(Mark Walkom) #2

Take a look at https://www.elastic.co/guide/en/elasticsearch/guide/current/logging.html


(Murali Sarala) #3

Hi Warklom,

I tried the suggestions but i see that the log file is too large it exceeds 2 gb with in 5mins. any other suggestions?


(Mark Walkom) #4

Then perhaps you are trying to solve the wrong problem, as that is a MASSIVE log file.

What are all the entries?


(Murali Sarala) #5

I think i found it, i was using jdbc river to populate documents and I found that it was throwing lots of errors. trying to debug what is causing the issue. thanks for your reply.


(Mark Walkom) #6

FYI rivers are deprecated, so you should move off them ASAP.


(Murali Sarala) #7

ultimately I will move but for my quick start as POC I would like to populate data from sql, any alternative?


(Mark Walkom) #8

https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html is our recommended method.


(system) #9