THE HAGUE — The Dutch police said Thursday that they had responded to a terrorist threat against a rock concert in the city of Rotterdam after receiving concrete information from the authorities in Spain, where assaults last week left 15 people dead.

Few details about the episode on Wednesday in the Netherlands were released, but the police said they arrested a 22-year-old man at 2 a.m. on Thursday in the Brabant region, southeast of Rotterdam, in connection with an investigation into plans for an attack at the Maassilo events site, where Allah-Las, a band from California, was to play.

The Rotterdam police called off the concert after receiving the information from Spain about the site and time of the potential attack, and they said that tip had led them to the suspect. The man who was arrested, who has not been identified, can be held for 72 hours. The police added that there was no longer an imminent terrorist threat.

In a radio interview on Thursday, the Dutch minister of security and justice, Stef Blok, said that the suspect might only have posted threatening messages on social media sites. “We look forward to hearing why he committed this idiotic action,” Mr. Blok told the Dutch station BNR.