Use notification to modify elasticsearch config