Skip to content

New options for field name cleanup, tags, date field parsing to epoch_millis #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

bitsofinfo
Copy link

@bitsofinfo bitsofinfo commented Sep 12, 2017

Adds the following options

  --csv-clean-fieldnames          Strips double quotes and lower-cases all CSV
                                  header names for proper ElasticSearch
                                  fieldnames
  --csv-date-field TEXT           The CSV header name that represents a date
                                  string to parsed (via python-dateutil) into
                                  an ElasticSearch epoch_millis
  --csv-date-field-gmt-offset INTEGER
                                  The GMT offset for the csv-date-field (i.e.
                                  +/- N hours)
  --tags TEXT                     Custom static key1=val1,key2=val2 pairs to
                                  tag all entries with

@bitsofinfo
Copy link
Author

Also includes #18 and #17

@bitsofinfo bitsofinfo changed the title New options for field name cleanup, date field parsing to epoch_millis New options for field name cleanup, tags, date field parsing to epoch_millis Sep 13, 2017
@Dzordre
Copy link

Dzordre commented Oct 30, 2017

Could you provide an example about how to use your patch. I'm a bit lost with the new options ;)
Thanks.

@bitsofinfo
Copy link
Author

used in: https://github.com/bitsofinfo/comms-analyzer-toolbox (but a fork of your project cause only my fork has the needed options submitted in this PR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants