Skip to content

Commit

Permalink
Add support for Elasticsearch authentication.
Browse files Browse the repository at this point in the history
  • Loading branch information
GUI committed Jun 26, 2017
1 parent c11ea16 commit eae9553
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/etc/rsyslog.conf.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ local0.info action(
type="omelasticsearch"
server="{{elasticsearch._first_server.host}}"
serverport="{{elasticsearch._first_server.port}}"
{{#elasticsearch._first_server.user}}
uid="{{elasticsearch._first_server.user}}"
{{/elasticsearch._first_server.user}}
{{#elasticsearch._first_server.password}}
pwd="{{elasticsearch._first_server.password}}"
{{/elasticsearch._first_server.password}}
searchIndex="elasticsearch-index"
dynSearchIndex="on"
searchType="log"
Expand Down

0 comments on commit eae9553

Please sign in to comment.