Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Search for a specific String in a log file for a specific date range Post 302894894 by karthikprakash on Thursday 27th of March 2014 07:55:57 PM
Old 03-27-2014
2014-03-27 14:24:11,380 INFO [pool-1-thread-539] HttpGenRequest - [OK]-GET: (TimeTaken: 184 milliseconds)-(Request: HttpGetGetEventDetails - 1f9b62c3-924b-49c2-b05a-41d1c424765b)-(TimeInOpenBet: 0.1298 seconds)-(Diff: 55 milliseconds)-(Reply Len: 42225)


log file will be exactly as this, the command which you gave was not working...

couldn't we use grep for searching a string and sorting according date..???
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Get Data Between a specific Date Range from logs

I need to extract data from logs for a mentioned date range..Its quite urgent can anyone help me out with it..its to be written in unix..just thought its better to specify.. (4 Replies)
Discussion started by: sankasu
4 Replies

2. UNIX for Dummies Questions & Answers

Coping Files for a specific date range

Hi, we have file name appended by date in yymmdd format .. ex: abc090101.dat I need to copy all the files between abc090101 to abc090331.. could you plz help me.. Thanks. (1 Reply)
Discussion started by: kolariya4u
1 Replies

3. Shell Programming and Scripting

Search for a specific data in a file based on a date range

Hi, Currently I am working on a script to automate the process of converting the log file from binary into text format. To achieve this, partly I am depending on my application’s utility for this conversion and the rest I am relying on shell commands to search for directory, locate the file and... (5 Replies)
Discussion started by: svajhala
5 Replies

4. UNIX for Dummies Questions & Answers

How can I search and change an specific string in a file

Dear All, New to Linux/Unix OS, my Linux version is 2010 x86_64 x86_64 x86_64 GNU/Linux As titled, I wonder if you can help to provide a solution to find and change an specific string in a file The file include a lots of data in following configuration but might be various in... (3 Replies)
Discussion started by: axel
3 Replies

5. Shell Programming and Scripting

Urgent request to consider:Search specific name in a file and fetch specific entries

Hi all, I have 2 files, One file contain data like this FHIT CS CHRM1 PDE3A PDE3B HSP90AA1 PTK2 HTR1A ESR1 PARP1 PLA2G1B These names are mentioned in the second file(Please see attached second file) as # Drug_Target_X_Gene_Name:(Where X can be any number (1-1000) (1 Reply)
Discussion started by: manigrover
1 Replies

6. Shell Programming and Scripting

Search specific name in a file and fetch specific entries

Hi all, I have 2 files, One file contain data like this FHIT CS CHRM1 PDE3A PDE3B HSP90AA1 PTK2 HTR1A ESR1 PARP1 PLA2G1B These names are mentioned in the second file(Please see attached second file) as (7 Replies)
Discussion started by: manigrover
7 Replies

7. Shell Programming and Scripting

Replace specific column range in a non-delimited file with a string!

Hi All, I will need an help with respect to replacing a range of columns on a non-delimited file using a particular string pattern. Say file input is MYNUMBERD000000-BAN CHUE INSNTS ** N+ MYAREDSDD000000+BAN CHUE INSNTS ** N+ MYDERFFFSD00000-GIR PENT - ACH ** ... (5 Replies)
Discussion started by: navojit dutta
5 Replies

8. Shell Programming and Scripting

Search for logs traced between specific date and time from log file

HI, I want to search for a logs which are trace between specific date and time from logs file. My logs are generated like this :- Tue Jun 18 05:00:02 EEST 2013 | file_check.sh| Message:script has files to process. Thu Jun 20 05:00:02 EEST 2013 | file_check.sh| Message:script has files to... (5 Replies)
Discussion started by: ketanraut
5 Replies

9. UNIX for Dummies Questions & Answers

Need to search specific string in a log

Hi, I have a log file containing below data 12/3/14 12:43:59 AM WIT |Performance threshold: elapsed time = 3152... (5 Replies)
Discussion started by: csm231
5 Replies

10. UNIX for Dummies Questions & Answers

Search specific string logfile specific date range

Hi, I have logfile like this.. === 2014-02-09 15:46:59,936 INFO RequestContext - URL: '/eyisp/sc/skins/EY/images/pickers/comboBoxPicker_Over.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header === 2015-02-09... (8 Replies)
Discussion started by: kishk
8 Replies
Parser(3pm)						User Contributed Perl Documentation					       Parser(3pm)

NAME
APR::Request::Parser - wrapper for libapreq2's parser API. SYNOPSIS
use APR::Request::Parser; DESCRIPTION
This manpage documents version 2.13 of the APR::Request::Parser package. METHODS
APR::Request::Parser generic APR::Request::Parser->generic($pool, $ba, $ct) APR::Request::Parser->generic($pool, $ba, $ct, $blim) APR::Request::Parser->generic($pool, $ba, $ct, $blim, $tdir) APR::Request::Parser->generic($pool, $ba, $ct, $blim, $tdir, $hook) Noop-parser that collects everything into a single, internal parameter. Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object, and $ct is the Content-Type header of the request. Optionally $blim is the brigade in-memory limit, $tdir is the path to the temporary directory, and $hook is an APR::Request::Hook object. headers APR::Request::Parser->headers($pool, $ba, $ct) APR::Request::Parser->headers($pool, $ba, $ct, $blim) APR::Request::Parser->headers($pool, $ba, $ct, $blim, $tdir) APR::Request::Parser->headers($pool, $ba, $ct, $blim, $tdir, $hook) RFC 822 header parser. Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object, and $ct is the Content-Type header of the request. Optionally $blim is the brigade in-memory limit, $tdir is the path to the temporary directory, and $hook is an APR::Request::Hook object. urlencoded APR::Request::Parser->urlencoded($pool, $ba, $ct) APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim) APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim, $tdir) APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim, $tdir, $hook) x-www-form-urlencoded parser. Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object, and $ct is the Content-Type header of the request. Optionally $blim is the brigade in-memory limit, $tdir is the path to the temporary directory, and $hook is an APR::Request::Hook object. multipart APR::Request::Parser->multipart($pool, $ba, $ct) APR::Request::Parser->multipart($pool, $ba, $ct, $blim) APR::Request::Parser->multipart($pool, $ba, $ct, $blim, $tdir) APR::Request::Parser->multipart($pool, $ba, $ct, $blim, $tdir, $hook) Multipart parser. Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object, and $ct is the Content-Type header of the request. Optionally $blim is the brigade in-memory limit, $tdir is the path to the temporary directory, and $hook is an APR::Request::Hook object. default APR::Request::Parser->default($pool, $ba, $ct) APR::Request::Parser->default($pool, $ba, $ct, $blim) APR::Request::Parser->default($pool, $ba, $ct, $blim, $tdir) APR::Request::Parser->default($pool, $ba, $ct, $blim, $tdir, $hook) Default parser. Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object, and $ct is the Content-Type header of the request. Optionally $blim is the brigade in-memory limit, $tdir is the path to the temporary directory, and $hook is an APR::Request::Hook object. SEE ALSO
APR::Request, APR::Request::Hook COPYRIGHT
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. perl v5.10.1 2011-02-28 Parser(3pm)
All times are GMT -4. The time now is 05:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy