Is it possible to get the first day of the next month using ruby? I need to to update some documents with a future date in a format such as 2019/07/01.
I tried using date and today but none of them seem to work. Logstash either crashes on start or gives error such as Ruby exception occurred: uninitialized constant LogStash::Filters::Ruby::Today.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.