Re: Getting started with writing parser

2011-01-25 Thread Gora Mohanty
On Tue, Jan 25, 2011 at 3:46 PM, Dinesh wrote: > > no i actually changed the directory to mine where i stored the log files.. it > is /home/exam/apa..solr/example/exampledocs > > i specified it in a solr schema.. i created an DataImportHandler for that in > try.xml.. then in that i changed that fi

Re: Getting started with writing parser

2011-01-25 Thread Dinesh
no i actually changed the directory to mine where i stored the log files.. it is /home/exam/apa..solr/example/exampledocs i specified it in a solr schema.. i created an DataImportHandler for that in try.xml.. then in that i changed that file name to sample.txt that new try.xml is http://pastebin

Re: Getting started with writing parser

2011-01-25 Thread Gora Mohanty
On Tue, Jan 25, 2011 at 11:44 AM, Dinesh wrote: > > i don't even know whether the regex expression that i'm using for my log is > correct or no.. If it is the same try.xml that you posted earlier, it is very likely not going to work. You seem to have just cut and pasted entries from the Hathi Tru

Re: Getting started with writing parser

2011-01-25 Thread Dinesh
i want to take the month, time, DHCPMESSAGE, from_mac, gateway_ip, net_ADDR - DINESHKUMAR . M I am neither especially clever nor especially gifted. I am only very, very curious. -- View this message in context: http://lucene.472066.n3.nabble.com/Getting-started-with-writing-parser-tp2278092

Re: Getting started with writing parser

2011-01-25 Thread Gora Mohanty
On Tue, Jan 25, 2011 at 10:05 AM, Dinesh wrote: > > http://pastebin.com/CkxrEh6h > > this is my sample log [...] And, which portions of the log text do you want to preserve? Does it go into Solr as a single error message, or do you want to separate out parts of it. Regards, Gora

Re: Getting started with writing parser

2011-01-24 Thread Dinesh
i don't even know whether the regex expression that i'm using for my log is correct or no.. i very much worried i couldn't proceed in my project already 1/3 rd of the timing is over.. please help.. this is just the first stage.. after this i have ti setup up all the log to be redirected to SYSLOG

Re: Getting started with writing parser

2011-01-24 Thread Dinesh
http://pastebin.com/CkxrEh6h this is my sample log - DINESHKUMAR . M I am neither especially clever nor especially gifted. I am only very, very curious. -- View this message in context: http://lucene.472066.n3.nabble.com/Getting-started-with-writing-parser-tp2278092p2326646.html Sent from

Re: Getting started with writing parser

2011-01-24 Thread Gora Mohanty
On Mon, Jan 24, 2011 at 2:28 PM, Dinesh wrote: > > my solrconfig.xml > > http://pastebin.com/XDg0L4di > > my schema.xml > > http://pastebin.com/3Vqvr3C0 > > my try.xml > > http://pastebin.com/YWsB37ZW [...] OK, thanks for the above. You also need to: * Give us a sample of your log files (for cry

Re: Getting started with writing parser

2011-01-24 Thread Dinesh
my solrconfig.xml http://pastebin.com/XDg0L4di my schema.xml http://pastebin.com/3Vqvr3C0 my try.xml http://pastebin.com/YWsB37ZW - DINESHKUMAR . M I am neither especially clever nor especially gifted. I am only very, very curious. -- View this message in context: http://lucene.472066.

Re: Getting started with writing parser

2011-01-23 Thread Gora Mohanty
On Mon, Jan 24, 2011 at 11:54 AM, Dinesh wrote: > > i did all the configurations correctly.. previously i missed a configuration > file Sorry, what are you trying to configure now? The built-in Solr example, or the setup for your log files? Did you get the built-in Solr example to work? How were

Re: Getting started with writing parser

2011-01-23 Thread Dinesh
i did all the configurations correctly.. previously i missed a configuration file after adding it i'm getting a new error called Unknown FieldType: 'string' used in QueryElevationComponent i found it was defined in solrconfig.xml i didn't change any of the line in that but i don't know why am i

Re: Getting started with writing parser

2011-01-23 Thread Gora Mohanty
On Mon, Jan 24, 2011 at 11:18 AM, Dinesh wrote: > > i tried those examples.. is it compuslory that i should make it into XML, how > does it index CSV.. You will have to convert either into XML, or CSV, but neither of those should be too difficult. > should i post my e

Re: Getting started with writing parser

2011-01-23 Thread Dinesh
i tried those examples.. is it compuslory that i should make it into XML, how does it index CSV.. should i post my entire schema that i made it myself and the text file that i tried to index.. - DINESHKUMAR . M I am neither especially clever nor especially gifted. I am only very, very curious

Re: Getting started with writing parser

2011-01-23 Thread Gora Mohanty
On Mon, Jan 24, 2011 at 10:47 AM, Dinesh wrote: > > i tried editing the schema file and indexing my own log..  the error that i > got is > > root@karunya-desktop:/home/karunya/apache-solr-1.4.1/example/exampledocs# > java -jar post.jar sample.txt > SimplePostTool: version 1.2 > SimplePostTool: WAR

Re: Getting started with writing parser

2011-01-23 Thread Dinesh
i tried editing the schema file and indexing my own log.. the error that i got is root@karunya-desktop:/home/karunya/apache-solr-1.4.1/example/exampledocs# java -jar post.jar sample.txt SimplePostTool: version 1.2 SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8, other

Re: Getting started with writing parser

2011-01-17 Thread Gora Mohanty
On Tue, Jan 18, 2011 at 11:59 AM, Dinesh wrote: > > how to write a parser program that will convert log files into XML.. [...] There is no point to starting multiple threads on this issue, hoping that someone will somehow solve your problem. You have been given the following: * Links that should