Objective: Viral pneumonia has caused great harm to human health and is infectious, and if it is not treated in time, the consequences will be immeasurable. Chinese medicine treatment of viral pneumonia is promising in clinical research at present. Here, we explore potential targets and mechanisms of Plantago asiatica L in the treatment of viral pneumonia. Methods: Traditional Chinese medicine (TCM) system and traditional Chinese medicine pharmacology database system pharmacology (TCMSP) (https://tcmspw.com/index.php) were used for screening active ingredients of Plantago asiatica L and targets related to active ingredients. The target proteins obtained from the TCMSP database were searched in the UniProt database (https://www.uniprot.org/) to obtain their corresponding gene names. GeneCards database (https://www. Genecards.org) was used to explore related targets closely associated with viral pneumonia. Subsequently, the Venny 2.1 database (https://bioinfogp.cnb.csic.es/tools/venny/) was applied before building a protein-protein interaction (PPI) network. The PPI network was constructed using the String database (https://string-db.org/), decoding the core anti-viral genes in viral pneumonia. Intersected genes were analyzed using Gene Ontology (GO) and Kyoto Encyclopedia of Genes and Genomes (KEGG) to construct a network of "Disease-drug-active component-key target-KEGG pathway". Results: 9 active components, 96 targets, 402 important disease targets, and 3 common targets of viral pneumonia and plantain were obtained. The top 10 GO biological processes, 10 GO cell components, 10 GO molecular functions and the top 10 KEGG signaling pathways were screened out. Conclusion: Apoptosis regulator Bcl-2; CASP3: Caspase - 3; CASP8: Caspase - 8. Those targets act on viral pneumonia by participating in the biological process and regulating the signaling pathway of Kaposi sarcoma-associated herpes virus infection, which provides a basis for future experimental verification and clinical research.