Sample Header Ad - 728x90

Text filtering from configuration file

0 votes
1 answer
160 views
We have a config file which consists of more than 24000 lines. I am stuck in one task. I need to segregate the lines starting as below (service definition of specific host in icinga2) Object Service ""{ And ending with } Files consists multiple other entries as well I need to filter specific hosts definition alone.
Asked by naren viru (49 rep)
Dec 2, 2018, 06:16 AM
Last activity: Dec 2, 2018, 01:18 PM