es storage 样例

  1. export interface EsStroageConfig {
  2. esIndex: {
  3. type: string;
  4. value: string;
  5. field: string;
  6. format: string;
  7. }
  8. esType: {
  9. value: string;
  10. };
  11. serde: {
  12. type: string;
  13. };
  14. standalone: {
  15. type: false,
  16. condition: {
  17. operator: string
  18. field: string
  19. value: string
  20. }
  21. };
  22. }
  1. {
  2. "esIndex": {
  3. "type": "date",
  4. "value": "cloud_platform_r_*",
  5. "field": "occur_time",
  6. "format": "yyyyMMdd"
  7. },
  8. "esType": {
  9. "type": "static",
  10. "value": "data"
  11. },
  12. "serde": {
  13. "type": "none"
  14. },
  15. "standalone": {
  16. "type": false,
  17. "condition": {
  18. "operator": "=",
  19. "field": "log_type",
  20. "value": "saas_core"
  21. }
  22. }
  23. }
文档更新时间: 2019-11-14 03:13   作者:admin