notfol

Results 7 comments of notfol

Areas I'm seeing the tests break using elasticsearch 2.x: 1. _id is not mappable (already mentioned). I workaround this by popping _id out of the mapping dict returned by ModelIndex.get_mapping....

Bungie['INDICES'] -- For time series documents you may want to have indices include a date string (e.g. logstash-2016.02.28). It would be nice to have the ability to generate the index...

@ChristopherRabotin Yep! Sometimes we want to index by date. Often the date comes from a DateTimeField on the model.

Also wondered if there were plans to allow meta fields like _parent. Looks like this has to be defined outside of "properties." https://www.elastic.co/guide/en/elasticsearch/guide/current/indexing-parent-child.html

Just noticed this is your to-do's :) I might submit a PR

Curious which version of pynag you used in development? It would be nice if you provided a requirements.txt file. When I run the pynag (pynag-0.9.1) call that NagiosControlView._restart makes I...

Looks like pynag made some changes to the API. Below seems to work. ``` >>> from pynag.Control import Command >>> Command.restart_program(command_file="/usr/local/nagios/etc/nagios.cfg") ```