Jump to content

Any linux guys here?


maximummax

Recommended Posts

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..
 

Link to comment
Share on other sites

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

 

 

 

 

 

 

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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...