Through bioinformatics investigation, IL8, IL10, IL18, and CTSC were recognized as the essential biomarkers for E. coli mastitis and were related to the immune response of bovine mastitis. The gene discussed is CTSC; the disease is mastitis.