Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
pteich committed Nov 1, 2021
1 parent 5fe67f1 commit bf16c97
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ es-query-export -c "http://localhost:9200" -i "logstash-*" --startdate="2019-04-
| `-c --connect` | http://localhost:9200 | URI to ElasticSearch instance |
| `-i --index` | logs-* | name of index to use, use globbing characters * to match multiple |
| `-q --query` | | Lucene query to match documents (same as in Kibana) |
| `-f --field` | _all | limit export to specific field(s) add as many `-f` as you need |
| ` --fields` | | define a comma separated list of fields to export (overrides `-f`) |
| ` --fields` | | define a comma separated list of fields to export |
| `-o --outfile` | output.csv | name of output file |
| `-r --rawquery`| | optional raw ElasticSearch query JSON string |
| `-s --start` | | optional start date - Format: YYYY-MM-DDThh:mm:ss.SSSZ. or any other Elasticsearch default format |
| `-e --end` | | optional end date - Format: YYYY-MM-DDThh:mm:ss.SSSZ. or any other Elasticsearch default format |
| `--timefield` | | optional time field to use, default to timestamp |

| `--timefield` | | optional time field to use, default to @timestamp |
| `--verifySSL` | true | optional define how to handle SSL certificates |
| `--user` | | optional username |
| `--pass` | | optional password |

0 comments on commit bf16c97

Please sign in to comment.