<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to customize official splunk universalforwarder docker image in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-customize-official-splunk-universalforwarder-docker-image/m-p/388696#M69584</link>
    <description>&lt;P&gt;Below docker command will be used to run the app.&lt;/P&gt;

&lt;P&gt;docker run \&lt;BR /&gt;
-d \&lt;BR /&gt;
-name app_x \&lt;BR /&gt;
-v /opt/app/logs \&lt;BR /&gt;
testapp&lt;BR /&gt;
"/opt/app/logs" will be the place where app logs will be kept and sharing the data volume so that another container can access it.&lt;/P&gt;

&lt;P&gt;I want to use another splunk container which will use the same data volume. Is there any official docker file from splunk?&lt;/P&gt;

&lt;P&gt;I am stuck on how to implement this below on the splunk docker file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///home/ec2-user]
  whitelist=app\.log|\.log$|app
  index=test
  sourcetype=log4j
  [splunktcp://9997]
  compressed = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR set &lt;CODE&gt;splunk_server_host&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Thanks for helping&lt;/P&gt;</description>
    <pubDate>Thu, 08 Nov 2018 12:07:59 GMT</pubDate>
    <dc:creator>vrathore2016</dc:creator>
    <dc:date>2018-11-08T12:07:59Z</dc:date>
    <item>
      <title>How to customize official splunk universalforwarder docker image</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-customize-official-splunk-universalforwarder-docker-image/m-p/388696#M69584</link>
      <description>&lt;P&gt;Below docker command will be used to run the app.&lt;/P&gt;

&lt;P&gt;docker run \&lt;BR /&gt;
-d \&lt;BR /&gt;
-name app_x \&lt;BR /&gt;
-v /opt/app/logs \&lt;BR /&gt;
testapp&lt;BR /&gt;
"/opt/app/logs" will be the place where app logs will be kept and sharing the data volume so that another container can access it.&lt;/P&gt;

&lt;P&gt;I want to use another splunk container which will use the same data volume. Is there any official docker file from splunk?&lt;/P&gt;

&lt;P&gt;I am stuck on how to implement this below on the splunk docker file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///home/ec2-user]
  whitelist=app\.log|\.log$|app
  index=test
  sourcetype=log4j
  [splunktcp://9997]
  compressed = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR set &lt;CODE&gt;splunk_server_host&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Thanks for helping&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 12:07:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-customize-official-splunk-universalforwarder-docker-image/m-p/388696#M69584</guid>
      <dc:creator>vrathore2016</dc:creator>
      <dc:date>2018-11-08T12:07:59Z</dc:date>
    </item>
  </channel>
</rss>

