cancel
Showing results for 
Search instead for 
Did you mean: 

Applying slowlog setting on daily rotated search index

SOLVED

Applying slowlog setting on daily rotated search index

My site currently uses elasticsearch for the catalog search backend, and would like to have slowlog configured to monitor long running queries. However, the index name changes once the daily rotation completes, and hence it requires to have slowlog threshold configured after each daily rotation.

What would be the best solution to ensure that every newly built index has slowlog threshold configured? Is there any way to automate this configuration step?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Applying slowlog setting on daily rotated search index

Problem resolved. 

It was possible to set these parameters by adding code to Elasticsearch\Model\Adapter\Index\Builder

View solution in original post

1 REPLY 1

Re: Applying slowlog setting on daily rotated search index

Problem resolved. 

It was possible to set these parameters by adding code to Elasticsearch\Model\Adapter\Index\Builder