steps that I followed to resolve this issue:
Running sk111766 and then performing the below:
- • This is required because we are removing the indexes that already exists so we don't create duplicates.
- This also removes the FetchedFiles, which tells the server if files are already indexed.
- So we remove the FetchedFiles and the indexes then when we restart services it will index xxx days' worth of logs.
- If you do not run the commands listed and only run sk111766 then it will not index the log files from before sk111766 was ran.
- # cpstop
- b. # rm -r $RTDIR/log_indexes/other*
- c. # rm -r $RTDIR/log_indexes/audit*
- d. # rm -r $RTDIR/log_indexes/firewallandvpn*
- e. # rm -r $RTDIR/log_indexes/smartevent*
- f. # rm $INDEXERDIR/data/FetchedFiles
- g. # rm -r $INDEXERDIR/data/CpmiLocalCopy
- h. # cpstart
(I went through these steps but I am not sure if it fixed the issue. I was not seeing any indexed logs even after going through them)
The following steps actually started showing indexed logs in smart console.
Go to expert mode: fw repairlog -u 2024-11-15_032113_2226.log (you have to repair all the logs file that you want to repair)
After running fw repair log, I am seeing indexed logs. Thanks!