Data analytics has a lot of useful applications and predictive maintenance is one of them. Its achievements are ensuring maximum availability of machines while guaranteeing the production quality. It is important, especially in some industries where the downtime is among the costliest risks of all potential threats. Data analytics is capable of creating machine-learning models trained by real-time data flow that predicts when, where and why a particular machine will fail.