This file contains hidden or 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
| #!/usr/bin/python3 | |
| import argparse, json, requests | |
| parser = argparse.ArgumentParser(description='Create automatically index patterns, from elasticsearch indices.') | |
| parser.add_argument('elasticsearch_url',type=str, help='elasticsearch full URL') | |
| parser.add_argument('kibana_url', type=str, help='kibana full URL') | |
| args = parser.parse_args() |