Search Results

Search: Posts Made By: mpmichael
3,476
Posted By mpmichael
Hello RudiC, many thank's it works as...
Hello RudiC,

many thank's it works as desired!
Great help!
BR
mpmichael
3,476
Posted By mpmichael
thank you for the help. I attached the logfile. ...
thank you for the help. I attached the logfile.

The Command I used was:

awk '/ERROR/' RS= testlog2.txt

and the (false) Result where i. E. lines 741 - 777

BR
mpmichael
3,476
Posted By mpmichael
Hello, thank you very much for this amazing...
Hello,

thank you very much for this amazing tip! It worked for the sample file. Now I tried on real logfiles and the result where that it was delivered to much results. If the Word "error" is in...
3,476
Posted By mpmichael
Using grep for finding StackTraces
Hello,

I've a horrible problem using grep. I want to "grep" stacktraces from a Logfile. Caused by performance i don't want to read the files line-by-line.

I allready used a regex-online-tester...
2,799
Posted By mpmichael
echo "$BASH_VERSION" = 4.3.48(1)-release ...
echo "$BASH_VERSION" = 4.3.48(1)-release

---------- Post updated at 02:25 PM ---------- Previous update was at 02:20 PM ----------

Yea! Great - that did it!!
You solved it!
2,799
Posted By mpmichael
Good Idea - I checked it with my programm - but...
Good Idea - I checked it with my programm - but it was unhappy with the $'n'
The codeline was:
outline="$outline" $'\n' "$line"the result:
Zeile 88: $'\n': Befehl nicht gefunden(Command not fund)...
2,799
Posted By mpmichael
To give you more details: the Program is...
To give you more details:

the Program is reading Logfiles (line by line, looking for (multiline) Stacktraces. If a Stacktrace is discoverered I collect the lines

outline="$outline $line" #I...
2,799
Posted By mpmichael
Hello, thank you very much! I'm happy to get...
Hello,

thank you very much! I'm happy to get your support. Maybe it was my fault, because I tryed to use a simplified script to explain.
I'll try to test your examples im my script...
Best...
2,799
Posted By mpmichael
Thank you - but this does'n woked - the result...
Thank you - but this does'n woked - the result was:

25409var

---------- Post updated at 08:22 AM ---------- Previous update was at 08:15 AM ----------



thank you - but this only works...
2,799
Posted By mpmichael
Complex: bash, using ANSI-C quotes in skript
Hello,

I hope someone can hep with this. I use a skript to send multiline Data to a Monitoring system. Bu I'm not able to use linebreaks or escape sequences.

The skript is simple like that:
...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 07:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy