The forward returned to action in the Hammers' 3-1 loss to Fulham at Craven Cottage on Wednesday night and says it was "great" to finally be playing again.
"Obviously we were disappointed with the result but to be back on the pitch was great for me because I've been out injured for a while now," he told West Ham TV.
"I've been wanting to get out there since I've been injured - I've been in the gym and treatment room working hard to get fit. It's taken a while but I'm back and it was a great feeling to get those few minutes under my belt."
| WEST HAM LATEST
|15/8||Andy Carroll is 15/8 to score anytime against Swansea with bet365
"I had a little chance as soon as I came on with my first touch, I caught it quite well but the keeper was there in the right place, right time. I think overall we were unlucky not to get a result," he added.
"The gaffer had a word with us at half-time to tell the lads what he expected, and we went out there and showed in the way we started what we're about. We put the ball in the box, got a few chances and Kevin [Nolan] put his away for a good goal. The disappointing thing was that they got straight back in the lead, because we were on top of them at that stage and we could have pushed on to get the win.
"They put the first chance they created after our goal away and it's disappointing for the lads, but we've got to keep at it and think about the next game now.
"Straight away our focus goes on to Swansea at the weekend. We've had a tough run lately, we need to put points on the board, the lads know that, and I'm sure once we get that result, the others will follow."