If you want a different index for each IP, then in the output filter you can use a field reference, such as
index => "%{ip}"
However, depending on your data, that may end up with a large number of small indexes, which may cause performance problems. For most data sets this is not going to be a good approach.
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.