LSM303D - Low pass filter ?

My electric motors sometimes generate vibrations. so far in mpu6050 I used DLPF (digital low pass filtering), I am looking for a solution for lsm303d. Thanks for help !

For informed help, please read and follow the directions in the "How to use the forum" post. Post your code, using code tags, and explain the problem.

I just wanted to ask if lsm303d can be set low pass filter in accel, I can not paste the code because I have no idea.

Well the datasheet explains there are 4 filter bandwidths for the anti-alias filter, set by
ABW bits in CTRL2 register. The AFDS bit in CTRL7 may be relevant too.

And you can digitally filter further in software after acquisition.