# Solr\_http plugin to solr cloud

**URL:** <https://discuss.elastic.co/t/solr-http-plugin-to-solr-cloud/97896>\
**Category:** Logstash\
**Created:** [August 22, 2017, 11:21am UTC](https://discuss.elastic.co/t/solr-http-plugin-to-solr-cloud/97896 "2017-08-22T11:21:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![soumya1](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@soumya1](https://discuss.elastic.co/u/soumya1)\
**Post date:** [August 22, 2017, 11:21am UTC](https://discuss.elastic.co/t/solr-http-plugin-to-solr-cloud/97896/1 "2017-08-22T11:21:34Z")

</div>

Hi this is my sample conf to send logs to solr in cluster mode on a production set up.I am able to send data to sample collections but am having troubles to send data to solr cloud in production mode.  
pls suggest what url should be given in output section.  
url of zookeeper or solr cloud.pls clarify.thanks

input {  
stdin {  
codec =\> multiline {  
pattern =\> "^\s"  
what =\> "previous"  
}

}  
}

filter {  
grok {

match =\> {"message" =\> "[%{YEAR:LogYear}-%{MONTHNUM:LogMonth}-%{MONTHDAY:LogDay} %{TIME:LogTime}] %{WORD:debuglevel} %{GREEDYDATA:logMessage}"}

}

mutate {  
add\_field =\> { "mytimestamp" =\> "%{LogYear}-%{LogMonth}-%{LogDay} %{LogTime}"}

}

date {  
match =\> ["mytimestamp", "ISO8601"]  
target =\> "@timestamp"  
timezone =\> "Asia/Kolkata"  
}

}  
output{  
stdout { codec =\> rubydebug }  
solr\_http{  
solr\_url =\> "[http://192.168.17.71:8982/solr/jsmn1](http://192.168.17.71:8982/solr/jsmn1)"  
idle\_flush\_time =\> 2  
}

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 19, 2017, 11:21am UTC](https://discuss.elastic.co/t/solr-http-plugin-to-solr-cloud/97896/2 "2017-09-19T11:21:43Z")

</div>

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