WASHINGTON — A former aide to Hillary Clinton has turned over to the F.B.I. computer security logs from Mrs. Clinton’s private server, records that showed no evidence of foreign hacking, according to people close to a federal investigation into Mrs. Clinton’s emails.

The security logs bolster Mrs. Clinton’s assertion that her use of a personal email account to conduct State Department business while she was the secretary of state did not put American secrets into the hands of hackers or foreign governments.

The former aide, Bryan Pagliano, began cooperating with federal agents last fall, according to interviews with a federal law enforcement official and others close to the case. Mr. Pagliano described how he set up the server in Mrs. Clinton’s home in Chappaqua, N.Y., and according to two of the people, he provided agents the security logs. The law enforcement official described the interview as routine. Most of those close to the case spoke on condition of anonymity because they were not authorized to discuss the continuing investigation.

Mrs. Clinton’s work-related emails as secretary of state, which have been made public as part of a Freedom of Information Act lawsuit, show that she received spam emails intended to try to lure her into clicking a malicious link. Those emails, known as “spear phishing” attempts, were traced to Russia, but it was not clear from the emails alone whether anyone clicked on those links or whether the security was compromised.