Ask Your Question
0

How can I handle sdc.log exception?

asked 2020-05-29 08:16:41 -0500

Noel gravatar image

Hi all.

I'd like to file tail sdc.log file then if severity is ERROR, call http client(like slack webhook) with severity, message, exception, etc..

But Data Format tab, I've found the description-The data format in the files (IMPORTANT: if Log, Log4j files with stack traces are not handled)

Is there any way to handle sdc.log exception message?

Or is there any way to alert?

Any opinion would be appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-05-29 14:59:15 -0500

iamontheinet gravatar image

Hi!

There are better ways to handle errors and get notified. See if these resources help:

Cheers, Dash

edit flag offensive delete link more

Comments

Hi, iamontheinet. Thanks for replying! I'm aware of your ways. I just wanted to handle errors sdc log itself..

Noel gravatar imageNoel ( 2020-05-31 22:13:25 -0500 )edit

Ok, then change the log level to the appropriate level and use File Tail origin >> Scripting processor to access / post logs to a webhook. https://streamsets.com/documentation/datacollector/latest/help/datacollector/UserGuide/Administration/Administration_title.html#task_lkv_g2f_wy

iamontheinet gravatar imageiamontheinet ( 2020-07-02 22:58:34 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-05-29 08:16:25 -0500

Seen: 84 times

Last updated: May 29