#!/bin/bash shijian=`date +%Y.%m.%d -d "5 days ago"` #echo $shijian curl -XDELETE "10.88.88.93:9200/ph130iis-zdphlog-${shijian}" (责任编辑:IT) |
#!/bin/bash shijian=`date +%Y.%m.%d -d "5 days ago"` #echo $shijian curl -XDELETE "10.88.88.93:9200/ph130iis-zdphlog-${shijian}" (责任编辑:IT) |