elk.postman_collection.json

{
    "info": {
        "_postman_id": "432b9c13-7744-4f6d-b6a6-de3fd5f0955a",
        "name": "elk",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "item": [
        {
            "name": "localhost:9200/zzh/_search",
            "request": {
                "method": "GET",
                "header": [],
                "url": {
                    "raw": "localhost:9200/zzh/_search",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "zzh",
                        "_search"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "sw_metrics-cpm-20210824/_search",
            "protocolProfileBehavior": {
                "disableBodyPruning": true
            },
            "request": {
                "method": "GET",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{ "query": {     "match_all": {}   },   "size": 10,   "from": 0,   "sort": [     {"time_bucket": "asc"},     {"_id": "asc"}   ] }",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:9200/sw_metrics-cpm-20210824/_search",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "sw_metrics-cpm-20210824",
                        "_search"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "sw_metrics-cpm-20210824/_search after",
            "protocolProfileBehavior": {
                "disableBodyPruning": true
            },
            "request": {
                "method": "GET",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{ "query": {     "match_all": {}   },   "size": 10,   "search_after": [2021082415, "service_instance_cpm_2021082415_WW91cl9BcHBsaWNhdGlvbk5hbWU=.1_M2ZlMDIzNzcxNzVmNDkyOWFiN2EzNTNmZWM4NTljMzVAMTAuOS4wLjk1"],   "sort": [     {"time_bucket": "asc"},     {"_id": "asc"}   ] }",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:9200/sw_metrics-cpm-20210824/_search",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "sw_metrics-cpm-20210824",
                        "_search"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "_cat/indices",
            "request": {
                "method": "GET",
                "header": [],
                "url": {
                    "raw": "localhost:9200/_cat/indices?v&s=store.size:desc",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "_cat",
                        "indices"
                    ],
                    "query": [
                        {
                            "key": "v",
                            "value": null
                        },
                        {
                            "key": "s",
                            "value": "store.size:desc"
                        }
                    ]
                }
            },
            "response": []
        },
        {
            "name": "/zzh/_search between time",
            "protocolProfileBehavior": {
                "disableBodyPruning": true
            },
            "request": {
                "method": "GET",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{ "query": { "bool": { "filter": [ {"match_phrase": {"name" : "明月"}}, {"range": {"@timestamp": {    "gte":"2021-08-24T03:05:00Z",     "lt":"2021-08-24T03:07:00Z" }}} ] } } }",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "localhost:9200/zzh/_search",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "zzh",
                        "_search"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "/zzh/_search",
            "request": {
                "method": "GET",
                "header": [],
                "url": {
                    "raw": "localhost:9200/zzh/_search",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "zzh",
                        "_search"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "/zzh/_doc/1",
            "request": {
                "method": "GET",
                "header": [],
                "url": {
                    "raw": "localhost:9200/zzh/_doc/1",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "zzh",
                        "_doc",
                        "1"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "/zzh/_doc/1 Copy",
            "request": {
                "method": "GET",
                "header": [],
                "url": {
                    "raw": "localhost:9200/zzh/_doc/1",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "zzh",
                        "_doc",
                        "1"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "post /zzh/_doc/1",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{     "id":1,     "name":"zzh",     "url": "http://baidu.com/t" }",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "localhost:9200/zzh/_doc/1",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "zzh",
                        "_doc",
                        "1"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "post /zzh/_doc",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{   "name": "明月 地上",   "url": "http://google.com",   "@timestamp": "2021-08-24T03:05:02Z" }",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "localhost:9200/zzh/_doc",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "zzh",
                        "_doc"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "delete /zzh/_doc/1",
            "request": {
                "method": "DELETE",
                "header": [],
                "url": {
                    "raw": "localhost:9200/zzh/_doc/1",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "zzh",
                        "_doc",
                        "1"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "delete zzh",
            "request": {
                "method": "DELETE",
                "header": [],
                "url": {
                    "raw": "localhost:9200/zzh",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "zzh"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "put zzh",
            "request": {
                "method": "PUT",
                "header": [],
                "url": {
                    "raw": "localhost:9200/zzh",
                    "host": [
                        "localhost"
                    ],
                    "port": "9200",
                    "path": [
                        "zzh"
                    ]
                }
            },
            "response": []
        }
    ]
}

原文地址:https://www.cnblogs.com/tonggc1668/p/15266266.html