I'm assuming you followed Collect text logs with Azure Monitor Agent documentation to configure your DCR with Azure Monitor Agent. Here some things you can check in addition to the agent troubleshooter.
- Check to see if the agent is collecting the logs. Navigate to the AMA's configuration file and checking your file is under the DataCollection section.
- Check ingestion by broaden your query, i.e.
SCCML_CL | take 10
, to see if any logs were ingested to begin with.
I also suggest using the AMA Troubleshooter to help shed some light on why your ccm.log
isn't possibly being ingested by the agent. It could point to a configuration issue with your DCR.