I have two files that i need to send to remote server with the following rsyslog.conf file
$InputFileName /home/ashash/ashash1.log $InputFileTag DIT $InputFileStateFile DataIntake #$InputFileSeverity #$InputFileFacility $InputRunFileMonitor $InputFilePollInterval 10 $InputFileName /home/ashash/ashash2.log $InputFileTag DTR $InputFileStateFile DataTransmit #$InputFileSeverity #$InputFileFacility $InputRunFileMonitor $InputFilePollInterval 10 *.* @192.199.10.100 # Use traditional timestamp format $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat The problem is I can only see ashash1.log on remote server. Why can't I see ashash2.log on the remote server. I have attached when I ran it in a debug mode. ******************************************************************* 2340.677147000:main thread: Writing pidfile /var/run/rsyslogd.pid. 2340.677853000:main thread: rsyslog 3.22.1 - called init() 2340.677863000:main thread: Unloading non-static modules. 2340.677870000:main thread: module lmnet NOT unloaded because it still has a refcount of 3 2340.677875000:main thread: Clearing templates. 2340.677919000:main thread: cfline: '$ModLoad imfile' 2340.677932000:main thread: Requested to load module 'imfile' 2340.677939000:main thread: loading module '/usr/lib64/rsyslog/imfile.so' 2340.678048000:main thread: module of type 0 being loaded. 2340.678060000:main thread: cfline: '$InputFileName /opt/espds/as/wso2/repository/logs/pda_data-intake_data-pull.log' 2340.678070000:main thread: cfline: '$InputFileTag DIT' 2340.678078000:main thread: cfline: '$InputFileStateFile DataIntake' 2340.678086000:main thread: cfline: '$InputRunFileMonitor' 2340.678096000:main thread: cfline: '$InputFilePollInterval 10' 2340.678105000:main thread: cfline: '$InputFileName /opt/espds/as/wso2/repository/logs/pda_data-transmit_push-data.log' 2340.678113000:main thread: cfline: '$InputFileTag DTR' 2340.678122000:main thread: cfline: '$InputFileStateFile DataTransmit' 2340.678130000:main thread: cfline: '$InputRunFileMonitor' 2340.678138000:main thread: cfline: '$InputFilePollInterval 10' 2340.678147000:main thread: cfline: '*.* @logging.sandbox.pda.org' 2340.678153000:main thread: - traditional PRI filter 2340.678206000:main thread: symbolic name: * ==> 255 2340.678225000:main thread: tried selector action for builtin-file: -2001 2340.678235000:main thread: hostname 'logging.sandbox.pda.org', port '(null)' 2340.678241000:main thread: tried selector action for builtin-fwd: 0 2340.678247000:main thread: Module builtin-fwd processed this config line. 2340.678258000:main thread: template: 'RSYSLOG_TraditionalForwardFormat' assigned 2340.678275000:main thread: action 1 queue: save on shutdown 1, max disk space allowed 0 2340.678287000:main thread: action 1 queue: type 3, enq-only 0, disk assisted 0, maxFileSz 1048576, qsize 0, child 0, full delay 970, light delay 700 starting 2340.678295000:main thread: Action 0x7338d50: queue 0x7338e60 created 2340.678303000:main thread: cfline: '$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat' 2340.678316000:main thread: selector line successfully processed _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

