That could get overwritten during an upgrade or re-install, and I do not see any benefit from doing so. Why not create /usr/share/logstash/patterns and add a file containing the pattern there?
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.