<?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 Multiple error_log files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-error-log-files/m-p/93541#M19442</link>
    <description>&lt;P&gt;Maybe you can help me out with something. I have multiple files of the same type, error_log files, that are named different. An example would be /var/log/httpd/error_log, /var/log/httpd/error_log-1..etc.....the data input is set to be "/var/log/httpd/error_log*" what is the best way do this instead of having separate sources for these logs to have it under one source called access_log?&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2010 22:52:20 GMT</pubDate>
    <dc:creator>rwssoccer1</dc:creator>
    <dc:date>2010-11-23T22:52:20Z</dc:date>
    <item>
      <title>Multiple error_log files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-error-log-files/m-p/93541#M19442</link>
      <description>&lt;P&gt;Maybe you can help me out with something. I have multiple files of the same type, error_log files, that are named different. An example would be /var/log/httpd/error_log, /var/log/httpd/error_log-1..etc.....the data input is set to be "/var/log/httpd/error_log*" what is the best way do this instead of having separate sources for these logs to have it under one source called access_log?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2010 22:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-error-log-files/m-p/93541#M19442</guid>
      <dc:creator>rwssoccer1</dc:creator>
      <dc:date>2010-11-23T22:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple error_log files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-error-log-files/m-p/93542#M19443</link>
      <description>&lt;P&gt;You can simply override the source setting either in the UI, while defining the new DataIput, or in the inputs.conf file, with something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:/var/log/httpd/error_log*]
disabled = false
followTail = 1
host = apache-1.splunk.com
sourcetype = access_combined
source = access_log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope that helps?&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;simuvid&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2010 23:56:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-error-log-files/m-p/93542#M19443</guid>
      <dc:creator>simuvid</dc:creator>
      <dc:date>2010-11-23T23:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple error_log files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-error-log-files/m-p/93543#M19444</link>
      <description>&lt;P&gt;Awesome! works like a charm.. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2010 01:07:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-error-log-files/m-p/93543#M19444</guid>
      <dc:creator>rwssoccer1</dc:creator>
      <dc:date>2010-11-24T01:07:29Z</dc:date>
    </item>
  </channel>
</rss>

