Hello, Mfurkandemir,
Welcome to the community! We’re glad you’re here!
I’ve moved your question to our Daily Challenges where you may get more feedback.
What OS are you on?
Similar post in the community:
Upgrade Graylog 2.4 to 4.x - #3 by aaronsachs
For Elastic:
Elastic 7.0 is likely to cause issues if upgrading due to security improvements in the newer version.