need basic information

2012-08-30 Thread harshadmehta
I am trying to use solr for processing logs and searching them.

But i dont see a clear sample anywhere for this type of scenario. 

i need to index plain text files , example content - 

-mm-dd : Account 123 created
-mm-dd : Account 123 updated


Account 123 being spread across multiple files.

How do i index this so that i can search Account 123 activity over a date
range.

Using default solr config search, i will get each log file in full that has
any entry for Account 123 plus all other Accounts in those files as well.

Thanks





--
View this message in context: 
http://lucene.472066.n3.nabble.com/need-basic-information-tp4004588.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: need basic information

2012-08-31 Thread harshadmehta

You got what i am looking for but indexing part is where i am not sure how
it needs to be done.

So to send these log files for indexing in CSV format, is it just a
configuration change to pull these 3 fields from each line in text files or
i need to write code for that.

I simplified the lines in text file but they will contain lot more text, but
i don't think that will matter.

Thanks





--
View this message in context: 
http://lucene.472066.n3.nabble.com/need-basic-information-tp4004588p4004660.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: need basic information

2012-08-31 Thread harshadmehta
I have looked at splunk and logstash but want to explore solr to do the job.

Thanks



--
View this message in context: 
http://lucene.472066.n3.nabble.com/need-basic-information-tp4004588p4004763.html
Sent from the Solr - User mailing list archive at Nabble.com.