failover = false,
import_kibana = false,
use_https = false,
+ use_gzip = true,
allow_local = false,
}
body = bulk_json,
task = task,
method = 'post',
+ gzip = settings.use_gzip,
callback = http_index_data_callback
})
},
body = table.concat(tbl, "\n"),
method = 'post',
+ gzip = settings.use_gzip,
callback = kibana_template_callback
})
else
headers = {
['Content-Type'] = 'application/json',
},
+ gzip = settings.use_gzip,
body = ucl.to_format(template, 'json-compact'),
method = 'put',
})
headers = {
['Content-Type'] = 'application/json',
},
+ gzip = settings.use_gzip,
callback = http_template_put_callback,
})
else