Logstash rpm install failed with useradd and groupadd error

I am trying to install logstash with yum on a red hat vm, I already have the logstash.repo file setup according to the guide and i ran

yum install logstash

but I get the following error after it downloads everything

...

logstash-2.3.2-1.noarch.rpm | 72 MB 00:52
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
groupadd: Can't get unique system GID (no more available GIDs)
useradd: group 'logstash' does not exist
error: %pre(logstash-1:2.3.2-1.noarch) scriptlet failed, exit status 6
Error in PREIN scriptlet in rpm package 1:logstash-2.3.2-1.noarch
error: install: %pre scriptlet failed (2), skipping logstash-1:2.3.2-1
Verifying : 1:logstash-2.3.2-1.noarch 1/1

Failed:
logstash.noarch 1:2.3.2-1

Complete!

I can't find much information about this. Any suggestions?