Jump to content

Any linux guys here?


Recommended Posts

Posted
1 minute ago, maximummax said:

konchem complicated search undi, can you help?

basic grep lu , cut lu vachu man... logs nunchi data chudadaaniki.. Not into complicated stuff.. 

Whats your requirement? simple ga tell.. ardham ayithe I can give a try..
 

Posted

I'm not a linux guy, but logs nunchi .. research cheyadaniki .. nerchukunna anthe..

Posted
4 minutes ago, Pichkaari said:

basic grep lu , cut lu vachu man... logs nunchi data chudadaaniki.. Not into complicated stuff.. 

Whats your requirement? simple ga tell.. ardham ayithe I can give a try..
 

 

thanks man, here is my question

server paina oka directory undi 

example.

/Bose/Logs

 

Logs folder lo logs untai, one application will write logs continuously.    log file ending ".log" untundi

so, this is how it looks when you are inside /Bose/Logs    + log file ki time stamps untai

abc1_20160903_180.log

abc2_20160903_181.log...and so on

 

log file lopala ext ila untundi

just sample pattern cheputunna, this below text will be somewhere in the log

 

sent to server : message RequestRouteCall

customer id "abdhs:

DN '1234455'

attributeconnid lemond54

 

I need to display all the above 4 files using grep --- when i search for a particular period of time

 

ikkada unique id is : lemond54

 

 

 

 

 

 

 

Posted
1 hour ago, maximummax said:

thanks man, here is my question

server paina oka directory undi 

example.

/Bose/Logs

 

Logs folder lo logs untai, one application will write logs continuously.    log file ending ".log" untundi

so, this is how it looks when you are inside /Bose/Logs    + log file ki time stamps untai

abc1_20160903_180.log

abc2_20160903_181.log...and so on

 

log file lopala ext ila untundi

just sample pattern cheputunna, this below text will be somewhere in the log

 

sent to server : message RequestRouteCall

customer id "abdhs:

DN '1234455'

attributeconnid lemond54

 

I need to display all the above 4 files using grep --- when i search for a particular period of time

 

ikkada unique id is : lemond54

 

 

 

 

 

 

 

Oka sample log line pakka kavali man.. delimiter em vundho telisthe easy ga fields ni cut cheyachu ..  is it comma or pipe delimetered?

Posted
2 hours ago, maximummax said:

thanks man, here is my question

server paina oka directory undi 

example.

/Bose/Logs

 

Logs folder lo logs untai, one application will write logs continuously.    log file ending ".log" untundi

so, this is how it looks when you are inside /Bose/Logs    + log file ki time stamps untai

abc1_20160903_180.log

abc2_20160903_181.log...and so on

 

log file lopala ext ila untundi

just sample pattern cheputunna, this below text will be somewhere in the log

 

sent to server : message RequestRouteCall

customer id "abdhs:

DN '1234455'

attributeconnid lemond54

 

I need to display all the above 4 files using grep --- when i search for a particular period of time

 

ikkada unique id is : lemond54

 

 

 

 

 

 

 

Try this?

$ egrep wi 'RequestRouteCall | customer | DN | attributeconnid' /Bose/Logs

or 

$ grep w 'RequestRouteCall \|customer \| DN \| attributeconnid' /Bose/Logs

 

Posted

Grep -Ri "pattern"

 

will give all all the directories(actually path) and the files which have that pattern

 

Posted
4 minutes ago, chandu_babu said:

Grep -Ri "pattern"

 

will give all all the directories(actually path) and the files which have that pattern

 

Hey u look like SSR. Ki kii kki

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...