- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Delete precise lines on the logs
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Delete precise lines on the logs
Is it possible to delete some lines on the logs, and if it is possible how?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Delete precise lines on the logs
To analyze, cleanup, etc a bunch of text-files following a certain not necessarily consistent structure you could use Alteryx. Or, as this is pretty expensive can write your own scripts in whatever programming language you prefer.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Delete precise lines on the logs
@Retired_Member Thanks for the tips but as I am a bit of a moron in programming I leave that thing to the big boys the nerds upstairs!!
"Alteryx" regarding that program I'll learn but as I don't want to screw up my device I'll be extra cautious in using it!
Anyway thanks!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Delete precise lines on the logs
@aalexandrebeta wrote:
Is it possible to delete some lines on the logs, and if it is possible how?
What are you wanting to delete?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Delete precise lines on the logs
Well when a virus is detected and then i delete it, no need that the line in the log remain!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Delete precise lines on the logs
The logs are managed using a linux system/service manager package called systemd - they aren't stored in text format, and I don't know of any way to edit them.
The underlying tool for accessing logs is called journalctl - there is more info on that program here: https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-system...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Delete precise lines on the logs
There's no good reason to edit the logs. They get truncated/rotated eventually anyway.
Having a history of what's happened recently with the box can be important when troubleshooting problems.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Delete precise lines on the logs
@mdgm-ntgr Thank for the tip I'll take it in consideration!!!
I guess it was a stupid idea!!
@StephenB& @Retired_Member thanks for time taken!!!