Hi,

Over on http://www.rsyslog.com/doc/master/configuration/modules/imfile.html
I see a mention of Tag [tag:] like this:

Tag [tag:]

*(Required Parameter)* The tag to be used for messages that originate from
this file. If you would like to see the colon after the tag, you need to
specify it here (like ‘tag=”myTagValue:”’).
But then further below the example doesn't use that ":".

I've noticed that when I *don't* use that ":" my logs (from imfile) are not
getting shippet to their destination.  As soon as I add ":" they make it to
their desitnation.

Yet, the above info makes it sound like that ":" is optional.  And the
example at the bottom of imfile page shows an example without ":", like so:

# File 1
input(type="imfile"
      File="/path/to/file1"
      Tag="tag1"
      Severity="error"
      Facility="local7")


I couldn't find any info about:
* is this ":" really needed or is it optional?
* what is the purpose of ":"?

I'd like to tag my logs in Logsene <http://sematext.com/logsene/>, but I'd
like to avoid tags with trailing ":", because that ":" conflicts with a
typical search syntax, etc.

Any tips would be greatly appreciated.

Thanks,
Otis
--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/
_______________________________________________
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.

Reply via email to