Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logstash don't exit after click ctl+c in ubuntu12.10 #9

Open
jordansissel opened this issue May 17, 2015 · 3 comments
Open

Logstash don't exit after click ctl+c in ubuntu12.10 #9

jordansissel opened this issue May 17, 2015 · 3 comments
Labels

Comments

@jordansissel
Copy link
Contributor

(This issue was originally filed by @leiding at elastic/logstash#2143)


step 1: start logstash
./bin/logstash agent -f index.conf
Using milestone 2 input plugin 'redis'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.4.2/plugin-milestones {:level=>:warn}

Step2: Try to exit with cto+c, but the cursor can't return to the shell.

^CInterrupt received. Shutting down the pipeline. {:level=>:warn}

cat index.conf
input {
redis
{
host => "10.111.96.175"
data_type =>"list"
port => "6379"
key => "logstash"
type => "redis-input"
}

}

output
{
elasticsearch {
host => "10.111.96.175"
port => "9300"
}
}

@guyboertje
Copy link
Contributor

I don't think this bug exists anymore after implementing the pipeline stop in LS v2.

@opnarius
Copy link

I can still replicate this with logstash 2.2.2 and Ubuntu 14.04 versions.

This is my config:

input {
    redis {
        host => "redis01"
        port => 6379
        data_type => "pattern_channel"
        key => "*.firehose"
        add_field => {
            type => "firehose"
        }
    }
}

The issue happens when I run logstash directly in console or as a service. With a service, I have to kill -9 to stop logstash.

Is there anything I can try to help with troubleshooting this?

@guyboertje
Copy link
Contributor

@opnarius - thanks for the update. I will look into this. I have not really investigated the pattern channel data type with respect to LS quit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants