SEARCHING WITHIN LOG FILES
First Claim
Patent Images
1. A computer-implemented method for searching in a text file, the method comprising:
- parsing the text file into entries based on a predetermined line separator, wherein each entry comprises an entry identifier;
for at least one entry of the entries, parsing the entry into lines and fields based on a predetermined field separator and based on the predetermined line separator;
receiving an indication of a search criterion based on the at least one entry, wherein the search criterion comprises at least a first field and a second field;
wherein the search criterion defines a relationship between the first field and the second field in respect to a number of fields in between the first and second fields and in respect to a number of lines between the first and second fields; and
searching, by a processor, the text file for an entry matching the search criteria, wherein said searching is performed in respect to a storage device retaining the text file.
1 Assignment
0 Petitions
Accused Products
Abstract
A search tool may search a text file for entries matching one or more search criterions. The search tool may parse the file into entries. Entries may be parsed into lines and fields. A search criterion may define possible content in two or more fields and relationship between the two or more fields. The search criterion may be defined based on an exemplary entry of the text file, such as for example based on a selection of fields of the exemplary entry by a user.
27 Citations
25 Claims
-
1. A computer-implemented method for searching in a text file, the method comprising:
-
parsing the text file into entries based on a predetermined line separator, wherein each entry comprises an entry identifier; for at least one entry of the entries, parsing the entry into lines and fields based on a predetermined field separator and based on the predetermined line separator; receiving an indication of a search criterion based on the at least one entry, wherein the search criterion comprises at least a first field and a second field;
wherein the search criterion defines a relationship between the first field and the second field in respect to a number of fields in between the first and second fields and in respect to a number of lines between the first and second fields; andsearching, by a processor, the text file for an entry matching the search criteria, wherein said searching is performed in respect to a storage device retaining the text file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computerized apparatus for searching in a text file, the computerized apparatus having a processor and a storage device;
- the computerized apparatus comprising;
a text file obtainer operative to obtain the text file; a file parsing module operative to parse the text file into entries based on a predetermined line separator and based on an entry identifier; entry parsing module operative to parse an entry determined by said file parsing module into lines and fields, wherein said parsing module is operative to parse the entry based on a predetermined field separator and based on the predetermined line separator; a search criterion defining module configured to define a search criterion based on an indication of a search criterion in respect to an entry that is parsed by said entry parsing module, wherein the search criterion comprises at least a first field and a second field;
wherein the search criterion defines a relationship between the first field and the second field in respect to a number of fields in between the first and second fields and in respect to a number of lines between the first and second fields; anda search module operative to search the text file obtained by said text file obtainer for an entry matching the search criterion. - View Dependent Claims (19, 20, 21, 22, 23, 24)
- the computerized apparatus comprising;
-
25. A computer program product for searching in a text file, the computer program product comprising:
-
a non-tangible computer readable medium; a first program instruction for parsing the text file into entries based on a predetermined line separator, wherein each entry comprises an entry identifier; a second program instruction for parsing at least one entry into lines and fields based on a predetermined field separator and based on the predetermined line separator; a third program instruction for receiving an indication of a search criterion based on the at least one entry, wherein the search criterion comprises at least a first field and a second field;
wherein the search criterion defines a relationship between the first field and the second field in respect to a number of fields in between the first and second fields and in respect to a number of lines between the first and second fields;a fourth program instruction for searching the text file for an entry matching the search criteria; and wherein said first, second, third and fourth program instructions are stored on said non-tangible computer readable medium.
-
Specification