Recently, scientists have made great progresses in experiments in searching for the excited Ξ b and Λ b baryons such as the Λ b (6072), Λ b (6146), Λ b (6152), Ξ b (6227), Ξ b (6100), Ξ b (6327) and Ξ b (6333). Motivated by these progresses, we give a systematical analysis about the 1D and 2D states of Ξ b and Λ b baryons with the method of QCD sum rules. By constructing three types of interpolating currents, we calculate the masses and pole residues of these heavy baryons with different excitation modes (Lρ, L λ ) = (0, 2), (2, 0) and (1, 1). As a result, we decode the inner structure of Λ b (6146), Λ b (6152), Ξ b (6327) and Ξ b (6333), and favor assigning these states as the 1D baryons with the quantum numbers (Lρ, L λ ) = (0, 2) and 3 2 + , 5 2 + , 3 2 + and 5 2 + , respectively. In addition, the predictions for the masses and pole residues of the other 1D, 2D Ξ b and Λ b baryons in this paper are helpful in studying the D-wave bottom baryons in the future.