how can the doctor tell if you have a kidney infection?
To confirm that you have a kidney infection, you'll likely be asked to provide a urine sample to test for bacteria, blood or pus in your urine. Your doctor might also take a blood sample for a culture — a lab test that checks for bacteria or other organisms in your blood.