Hello Binh Ly,
How or where do you declare the variables such as %{clientip}?
Thanks

El miércoles, 19 de febrero de 2014 05:02:40 UTC+13, Binh Ly escribió:
>
> You can specify the index name in the elasticsearch output:
>
> http://logstash.net/docs/1.3.3/outputs/elasticsearch#index
>
> For example, let's say I have a field named clientip, I can make indexes 
> named ls-clientip by specifying something like this:
>
> output {
>   elasticsearch { 
>     host => "localhost"
>     index => "ls-%{clientip}"
>   }
> }
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/9d47dbd1-fcbd-4ade-8f9f-ecfc5a622415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to