We are using elasticsearch to store logs.We created index for username,ip
and date.
We want to search users has the IP X.Y.Z.T between time1 and time2.
How can I achive this with elasticsearch? Which type of query should I use?
It would be great if you can provide me an example query
We are using elasticsearch to store logs.We created index for username,ip and date.
We want to search users has the IP X.Y.Z.T between time1 and time2.
How can I achive this with elasticsearch? Which type of query should I use?
It would be great if you can provide me an example query
It is exactly what I was looking for. Thanks for your help.
But I have another question. this query search only for IP and date.
Can you give me another example to search user,ip and date in a single
query. In general, How can I search more than three different field?
We are using elasticsearch to store logs.We created index for username,ip
and date.
We want to search users has the IP X.Y.Z.T between time1 and time2.
How can I achive this with elasticsearch? Which type of query should I use?
It would be great if you can provide me an example query
Thanks.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
It is exactly what I was looking for. Thanks for your help.
But I have another question. this query search only for IP and date.
Can you give me another example to search user,ip and date in a single query. In general, How can I search more than three different field?
Thanks again.
2013/3/7 David Pilato david@pilato.fr
So, let's say you have documents like:
We are using elasticsearch to store logs.We created index for username,ip and date.
We want to search users has the IP X.Y.Z.T between time1 and time2.
How can I achive this with elasticsearch? Which type of query should I use?
It would be great if you can provide me an example query
Thanks.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
It is exactly what I was looking for. Thanks for your help.
But I have another question. this query search only for IP and date.
Can you give me another example to search user,ip and date in a single
query. In general, How can I search more than three different field?
We are using elasticsearch to store logs.We created index for username,ip
and date.
We want to search users has the IP X.Y.Z.T between time1 and time2.
How can I achive this with elasticsearch? Which type of query should I
use?
It would be great if you can provide me an example query
Thanks.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
It is exactly what I was looking for. Thanks for your help.
But I have another question. this query search only for IP and date.
Can you give me another example to search user,ip and date in a single query. In general, How can I search more than three different field?
We are using elasticsearch to store logs.We created index for username,ip and date.
We want to search users has the IP X.Y.Z.T between time1 and time2.
How can I achive this with elasticsearch? Which type of query should I use?
It would be great if you can provide me an example query
Thanks.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
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.