Ask questions. Get answers. Find technical product solutions from passionate experts in the NXLog community.

xm_multiline module for Oracle alert.log on AIX System
Hello, I would like to obtain information in alert.log multiple lines for an event but without success. Below, my configuration : <Extension multiline>         Module       xm_multiline         HeaderLine   /^\w\w\w\s\w\w\w\s\d\d\s\d\d:\d\d:\d\d\s\d\d\d\d/ </Extension> <Extension syslog>         Module  xm_syslog </Extension> <Input aix_syslog>         Module  im_file         File "/var/log/syslog.out*"         Exec        to_syslog_bsd(); </Input> <Input oracle_log_DBA102XX>         Module      im_file         InputType   multiline         File        "/oradata/DBA102XX/admin/trace/bdump/alert_DBA102XX.log"         Exec        to_syslog_bsd();         Exec        $SourceName = "DBA102XX"; </Input> <Output fluent_aix>         Module om_udp         Host 172.31.12.104         Port 5139 </Output> <Output fluent_oracle>         Module om_udp         Host 172.31.12.104         Port 5127 </Output> ######################################## # Routes                               # ######################################## <Route 1>         Path    aix_syslog => fluent_aix </Route> <Route 2>     Path        oracle_log_DBA102XX => fluent_oracle </Route> Result Fluentd side : 7 Jun 2016 23:21:21     oracle.user.notice      {"host":"xmgpoc01","ident":"Tue","message":"21:21 DFT 2016"} 7 Jun 2016 23:21:21     oracle.user.notice      {"host":"xmgpoc01","ident":"Thread","message":"1 advanced to log sequence 66 (LGWR switch)"} 7 Jun 2016 23:21:21     oracle.user.notice      {"host":"xmgpoc01","ident":"","message":"/oradata/DBA102XX/oraredo01/LOG3A_DBA102XX.ORA"} 7 Jun 2016 23:21:21     oracle.user.notice      {"host":"xmgpoc01","ident":"","message":"/oradata/DBA102XX/oraredo02/LOG3B_DBA102XX.ORA"} This line "Exec        $SourceName = "DBA102XX";" doesn't works, i dont know why. Thank you for your help.    

gfouere created
Replies: 1
View post »
last updated
Own module compilation failed at configure
Hello I don't know way to compile my input module for Oracle - need some guidance for it. I guess autogen.sh (using autotools) is designated to generate makefiles etc and configure. I made Makefile.am based on im_dbi version: if HAVE_LIBOCI im_oci_LTLIBRARIES    = im_oci.la im_oci_la_SOURCES    = im_oci.c im_oci.h im_oci_la_CFLAGS    = -rdynamic -D_XOPEN_SOURCE -std=c99 im_oci_la_LDFLAGS    = -module -no-undefined -avoid-version -ldl im_oci_la_LIBADD    = $(LIBOCI) $(LIBNX) im_ocidir        = $(NX_MODULEDIR)/input endif When I call configure or autogen.sh it gives error: ./configure: line 21597: syntax error: unexpected end of file but last lines are:   21590: #echo ---------------------------------------------------------- 21591: #echo Shared: ${BUILD_SHARED_LIBS} 21592: #echo ---------------------------------------------------------- 21593: echo 21594: echo "${PACKAGE}-${NXLOG_VERSION_STRING} configured successfully" 21595: echo "type \`${MAKE-make}' and \`${MAKE-make} install'" 21596: echo 21597: echo 21598: I don't see error here. I just placed my module in modules/input folder Should I generate some files with autotools?

Tuxizm created
Replies: 1
View post »
last updated