How do I connect logstash with ES?

Hi!
What do I have to do?
Something like Elasticsearch-users useradd ?
And add some roles?
Best
Andy

Hello @McLaine
if you would like connect logstash with Elasticsearch in your pipelines config code add your Elasticsearch cluster details . Keep posted!!!

Example:

input
{
}

filter
{

}

output
{
elasticsearch{
		hosts => ["localhost:9200"]
		index => "<YOUR-INDEX-NAME>"
		user => "elastic"
		password => "<ELASTIC-PWD>"
	}
}
1 Like

@McLaine Could you please provide update on this topic

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.