This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~* "a regex to match content from Azure storage" { | |
set $uri_x 0; # dummy declare | |
rewrite_by_lua_file "lua/redis.lua"; | |
} | |
location /azure_storage_proxy_pass_sas { | |
internal; | |
# rewrite_log on; | |
rewrite ^ $uri_x break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package beater | |
import ( | |
"strconv" | |
"time" | |
"github.com/elastic/beats/libbeat/beat" | |
"github.com/elastic/beats/libbeat/common" | |
"github.com/elastic/beats/libbeat/logp" |