Output incommind data stuff

Herro! I wanted to know, if theres a way to ‘output’ incomming data, like if we get DDoSed, that we could maybe get some infos, or atleast get an IP from where it is comming from, the only info from our provider we get is how much GBps the DDoS was.