All Tags ›
COM input format (
RSS)
Sorry, but there are no more tags available to filter with.
-
Yeah, the fact that it works with -h is because when in -h mode, LP passes everything it doesn't recognize as an argument on to the input format. In the built in input formats, they expect the argument to be the name of a file that they parse to display the column names. I mention that in this thread...
-
Hi Everyone, I wrote an input format plugin. Since I couldn't get my custom properties to be set, I created additional command line options. If I use the additional command line options with the -h option, they work correctly. However, when using the additional command line options with a query, I get...
-
Hello, I have been writing a Log4cxx input format plugin. In order to work properly, I need to pass in two additional pieces of information a. The XML configuration file which was used to configure Log4cxx. b. The Appender whose layout should be used to read the log file lines. I can pass in the log...
-
Hi All, I am using following VC# code to create Chart output - Type outputFormatType = Type.GetTypeFromProgID("MSUtil.LogQuery.ChartOutputFormat", true); object outputFormatObject = Activator.CreateInstance(outputFormatType); outputFormatObject.chartType = "Column3D"; While compiling using VC # I get...
-
Thanks for all. Your are the machine
-
There is a fundamental challenge to parsing this type of data with LP. LP has a concept of static fields. When it initializes the input format, it queries the format for all fields. The only way to write a COM input format for this type of data would be to parse the entire file on init to build a list...
-
Hello, I need to read a coma separated log that seems this way field1=value1, field2=value2, field3=value3,....=....,.... field1=valueX, field2=valueY,.....=....,..... field1=valueT, field5=valueK Not all the lines have de same fields. Thanks for all Pablo Burguete.
-
Hi Daniel , I am very much thankful to your prompt replies and suggestions, Yes Actually I too was thinking the same that why not to use TSV or CSV format, and finally I have decided to go with TSV format. I'll bug you again if I encounter any problem, if possible can you let me know one thing how fast...
-
ReadRecord should parse an entire row of data on each call so that GetField(index) can be called for each field the LP query calls for. It sounds like your file format is quite simple however, why can you not just use the CSV or TSV input formats?
-
Hi, Thanks for the reply, I am still having some doubt if you can help me out I'll be very much thankful. I have a log file which contains three columns one for date second one for ThreadName and third for the message, Log will be stored in a .txt file (field seperator will be a comma or tab) Now I have...