Diagnosis of meningitis is done by analyzing the patient's CSF (cerebrospinal fluid).
With bacterial meningitis, the CSF will be cloudy and will have decreased glucose content.
With viral meningitis, CSF will be clear and glucose levels will typically be normal.