Logstash consuming a lot of CPU?

We are using logstash version 1.5.6 with s3 input & elasticsearch output plugin been used. The CPU is spiking up to 40%. Is this normal for logstash?

`top - 16:34:09 up 16:27, 1 user, load average: 2.66, 2.41, 3.08
Tasks: 96 total, 6 running, 90 sleeping, 0 stopped, 0 zombie
Cpu(s): 34.9%us, 9.2%sy, 17.9%ni, 37.9%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 3856484k total, 3578792k used, 277692k free, 150556k buffers
Swap: 0k total, 0k used, 0k free, 2351368k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
29138 logstash 39 19 1890m 241m 7124 S 37 6.4 284:05.48 java
`

Can these be optimized?