The most common way to take jazz drum lessons is to hire a teacher. Taking in-person lessons provides you with a greater opportunity to learn from an expert's experience and get feedback on your performance. A teacher will set goals for you, expect you to practice on your own time, and help you reach your maximum potential. Private lessons can be expensive depending on who you hire. For example, taking lessons from a professional drummer or a university professor would be more expensive than taking lessons from a knowledgeable college student.
If you don't want to commit to private lessons, online drum lessons are a good alternative. Many websites offer free or paid video tutorials of various drumming basics, including the standard swing rhythm. Online lessons are typically prerecorded videos, so you'll basically be teaching yourself. It may be helpful to purchase some books on drumming techniques to aid you in your studies. You can take online lessons at your own pace and even expand your learning to other drumming styles, but the danger of losing motivation or wavering in commitment may be greater with online lessons than with private lessons.