Skip to content

Commit

Permalink
Merge pull request #406 from splunk/f5/add-pid-to-template
Browse files Browse the repository at this point in the history
Add PID to `t_program_msg` template
  • Loading branch information
Ryan Faircloth authored and GitHub committed Apr 13, 2020
2 parents 44aaf60 + 3125fbc commit 32d10bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/etc/conf.d/conflib/_common/templates.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ template t_legacy_hdr_msg {
};

template t_program_msg {
template("${PROGRAM}: ${MESSAGE}");
template("${PROGRAM}[${PID}]: ${MESSAGE}");
};

# ===============================================================================================
Expand Down
2 changes: 1 addition & 1 deletion tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ services:
- SPLUNK_PASSWORD=${SPLUNK_PASSWORD}
- SPLUNK_START_ARGS=--accept-license
volumes:
- splunk-var:/opt/splunk/vars
- splunk-var:/opt/splunk/var

volumes:
results:
Expand Down

0 comments on commit 32d10bf

Please sign in to comment.