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-cowrie.conf modification suggestion #1650

Open
nnachtegael opened this issue Oct 29, 2021 · 3 comments
Open

logstash-cowrie.conf modification suggestion #1650

nnachtegael opened this issue Oct 29, 2021 · 3 comments

Comments

@nnachtegael
Copy link

add target => honeypot in the logstash-cowrie.conf file to be able to find the commands imput field in elasticsearch discover

json {
source => message
target => honeypot
}

See https://discuss.elastic.co/t/log-entry-disappears-between-logstash-and-kibana/225850/7

@micheloosterhof
Copy link
Member

Thanks for the suggestion! We'll put this in.

@nnachtegael
Copy link
Author

Another way to retrieve the commands input variable as suggested in
https://githubmemory.com/repo/cowrie/cowrie/issues/1392

mutate {
    remove_field => [  "input" ]
}
json {
    source => message
}
...

@micheloosterhof
Copy link
Member

#2062

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

No branches or pull requests

2 participants