Awesome thanks. Seems to work.

On Monday, November 3, 2014 2:36:14 PM UTC+1, Johan Rask wrote:
>
> Hi,
>
> The only solution I could find was to set these fields in other indices as 
> well, like this.
>
> if "collectd" not in [tags] {
>          mutate {
>                add_field => {
>                   "tx" => "0"
>                   "rx" => "0"
>                   "shortterm" => "0"
>                   "longterm" => "0"
>                   "midterm" => "0"
>                   "value" => "0"
>                }
>           }
>       }
>
> Den måndagen den 3:e november 2014 kl. 14:32:04 UTC+1 skrev Erbin Lim:
>>
>> Does anyone have a solution to this? I'm facing the same problem as well. 
>> Not every index will have specific fields, but I would like to plot the 
>> histograph over a period of time showing indices if the field does indeed 
>> appear.
>>
>

-- 
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/825fcced-8d83-4b2a-9043-5e00b9c3fc38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to