I need your help in solving the below mentioned Issue.
I have Installed Auditbeat-7.3.1 as a part of ELK setup in my centos server. Everything was working well, But i was facing problem while deleting the Auditebat Messages which are located under the "/var/log/messages" folder path. These Messages are consuming a lot of space. Its becoming a problem for me to Manually remove the message contents everytime.
Also, I have written a small script which reads these message contents in the specified directory and removes it. But when i Executed the script It was just moving the messages from that file and placing them in another location.
I'm not able to find a solution for this problem.
TIA, For you help.