three types of event logs, transaction logs, and system logs by sending them to ZIP file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 12:16 AM
Hi Team,
Three types of event logs, transaction logs, and system logs by sending them to a file and attaching them by email.
And need to attach these three types of files in a single zip file when attaching files to an email in the script of a job.
so, I have developed three different csv files but need concern on those three types of files in a single zip file when attaching files to an email in the script of a job.
Here I am using this script, please need your suggestion on the below script three types of files in a single zip file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 01:45 AM - edited 12-12-2023 01:47 AM
Hi @shaik13
instead of asking for a solution, you should provide the underlying business requirement first to help us understand you better,
Of course, it is possible to build ZIP files and attach it to emails but this is highly dangerous and can crash your instance. All the described tables are really large, and their contents are loaded into the RAM of an application node for building the ZIP file. However, their contents will exceed the available memory, leading to serious issues. So stop this and explain first what you want to achieve.
And you should also be familiar with all the new ServiceNow capabilities as there is a feature called "Log Export Service" you should check: https://docs.servicenow.com/bundle/vancouver-platform-security/page/administer/log-export-service/co...
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 01:55 AM
want to send three-table report information into csv file and these three types of files in a single zip file send through email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 02:07 AM
Hi @shaik13
sorry, but you are just repeating the solution approach, but again you don't explain WHY you want to do this. What do you want to do with the data? Apart from this it would be a serious violation of data protection and security laws because you want to send these contents via email in plain text and without security or encryption!
Maik