  We explore the thermodynamic analysis at the apparent horizon in the
framework of Rastall theory of gravity. We take different entropies such as the
Bakenstein, logarithmic corrected, power law corrected, and the Renyi
entropies. We investigate the first law and generalized second law of
thermodynamics analytically for these entropies which hold under certain
conditions. Furthermore, the behavior of the total entropy in each case is
analyzed. As a result, it is implied that the generalized second law of
thermodynamics is satisfied. We also check whether the thermodynamic
equilibrium condition for these entropies is met at the present horizon.
