<?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 Re: monitor particular log in universal forwarder in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251488#M21499</link>
    <description>&lt;P&gt;How do we monitor one particular log through universal forwarder because we are writing 10 different logs in same folder which is different fields ///&lt;BR /&gt;
Can you please update us more info...&lt;BR /&gt;
- is that log which you want to monitor is changing? (rolling log files?)&lt;BR /&gt;
- if the file name is not changing, as per the screenshot, you can update the inputs.conf with full logfile name. &lt;BR /&gt;
[monitor://D:\HotelHub\Log4NetLogs\UserSessionsInfo20170124-09.txt]&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Data/Monitorfilesanddirectorieswithinputs.conf"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Data/Monitorfilesanddirectorieswithinputs.conf&lt;/A&gt;&lt;BR /&gt;
as you can see on this inputs.conf file format, you can include index and sourcetype directly - &lt;BR /&gt;
index = &lt;BR /&gt;
sourcetype = &lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2017 13:07:28 GMT</pubDate>
    <dc:creator>inventsekar</dc:creator>
    <dc:date>2017-01-24T13:07:28Z</dc:date>
    <item>
      <title>monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251487#M21498</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2363i7EAFBC9793385220/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;How do we monitor one particular log through universal forwarder because we are writing 10 different logs in same folder which is different fields.&lt;/P&gt;

&lt;P&gt;and also logs are forwarding to main index how do we forward that into new index and how to set source type for each log as each logs having different fields.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Puneeth&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 12:30:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251487#M21498</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-01-24T12:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251488#M21499</link>
      <description>&lt;P&gt;How do we monitor one particular log through universal forwarder because we are writing 10 different logs in same folder which is different fields ///&lt;BR /&gt;
Can you please update us more info...&lt;BR /&gt;
- is that log which you want to monitor is changing? (rolling log files?)&lt;BR /&gt;
- if the file name is not changing, as per the screenshot, you can update the inputs.conf with full logfile name. &lt;BR /&gt;
[monitor://D:\HotelHub\Log4NetLogs\UserSessionsInfo20170124-09.txt]&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Data/Monitorfilesanddirectorieswithinputs.conf"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Data/Monitorfilesanddirectorieswithinputs.conf&lt;/A&gt;&lt;BR /&gt;
as you can see on this inputs.conf file format, you can include index and sourcetype directly - &lt;BR /&gt;
index = &lt;BR /&gt;
sourcetype = &lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 13:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251488#M21499</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2017-01-24T13:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251489#M21500</link>
      <description>&lt;P&gt;hi puneethgowda,&lt;BR /&gt;
you can follow different ways, but the easyer is to create a dedicated room in your inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\HotelHub\Log4NetLogs\109\PH\UserSessionsInfo*.txt]
index=your_index
sourcetype=your_sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you cannot do this you have to override index at indextime:&lt;BR /&gt;
transforms.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [overrideindex]
 DEST_KEY =_MetaData:Index
 REGEX = your_regex
 FORMAT = my_new_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [mysourcetype]
 TRANSFORMS-index = overrideindex
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 13:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251489#M21500</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-01-24T13:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251490#M21501</link>
      <description>&lt;P&gt;No we can't give full path till extension as file name will keep changing every hour and also same file we need to monitor from other folder&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 15:00:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251490#M21501</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-01-24T15:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251491#M21502</link>
      <description>&lt;P&gt;We are trying regex let's see&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 15:02:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251491#M21502</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-01-24T15:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251492#M21503</link>
      <description>&lt;P&gt;Split your stanzas like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\HotelHub\Log4NetLogs\file1]
File1 settings here

[monitor://D:\HotelHub\Log4NetLogs\file2]
File2 settings here

[monitor://D:\HotelHub\Log4NetLogs\file3]
File3 settings here
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Jan 2017 15:57:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251492#M21503</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-01-24T15:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251493#M21504</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2361iA1A3091AE0683265/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;We cannot give full path because file name will keep changing&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 06:12:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251493#M21504</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-01-25T06:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251494#M21505</link>
      <description>&lt;P&gt;If your path can change, you can use jolly character "*" or three dots "...".&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe &lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 06:28:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251494#M21505</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-01-25T06:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251495#M21506</link>
      <description>&lt;P&gt;We are able to create new sourcetype and new index name and still working on monitoring one particular log which will be inside so many subfolders could any one help us on this.&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
host = BLRVMDBENAPP01&lt;/P&gt;

&lt;P&gt;[monitor://D:\HotelHub\Log4NetLogs\109\PH\AppServerDbconnectInfo*.txt]&lt;BR /&gt;
disable = 0&lt;BR /&gt;
index=main&lt;BR /&gt;
ignoreOlderThan= 1d&lt;BR /&gt;
sourcetype=UFBETA_DbconnectInfo&lt;BR /&gt;
index=UFBETA&lt;/P&gt;

&lt;P&gt;//D:\HotelHub\Log4NetLogs\109 after fodername 109 there will be many subfolder we need to forward data from all the folders how to pass variable in the place of \109\PH\&lt;/P&gt;

&lt;P&gt;We tried //D:\HotelHub\Log4NetLogs*\AppServerDbconnectInfo*.txt&lt;/P&gt;

&lt;P&gt;but not working and also we tried &lt;/P&gt;

&lt;P&gt;whitelist = query.log$&lt;BR /&gt;
here we are giving till Log4NetLogs no giving 109\PH because we need to read after Log4netlogs all the files which start with appserverdbconnect&lt;BR /&gt;
[default]&lt;BR /&gt;
host = BLRVMDBENAPP01&lt;/P&gt;

&lt;P&gt;[monitor://D:\HotelHub\Log4NetLogs]&lt;BR /&gt;
disable = 0&lt;BR /&gt;
index=main&lt;BR /&gt;
ignoreOlderThan= 1d&lt;BR /&gt;
sourcetype=UFBETA_DbconnectInfo&lt;BR /&gt;
index=UFBETA&lt;BR /&gt;
whitelist = AppServerDbconnectInfo.txt$&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 18:47:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251495#M21506</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-01-26T18:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251496#M21507</link>
      <description>&lt;P&gt;We are able to create new sourcetype and new index name and still working on monitoring one particular log which will be inside so many subfolders could any one help us on this.&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
host = BLRVMDBENAPP01&lt;/P&gt;

&lt;P&gt;[monitor://D:\HotelHub\Log4NetLogs\109\PH\AppServerDbconnectInfo*.txt]&lt;BR /&gt;
disable = 0&lt;BR /&gt;
index=main&lt;BR /&gt;
ignoreOlderThan= 1d&lt;BR /&gt;
sourcetype=UFBETA_DbconnectInfo&lt;BR /&gt;
index=UFBETA&lt;/P&gt;

&lt;P&gt;//D:\HotelHub\Log4NetLogs\109 after fodername 109 there will be many subfolder we need to forward data from all the folders how to pass variable in the place of \109\PH\&lt;/P&gt;

&lt;P&gt;We tried //D:\HotelHub\Log4NetLogs*\AppServerDbconnectInfo*.txt&lt;/P&gt;

&lt;P&gt;but not working and also we tried&lt;/P&gt;

&lt;P&gt;whitelist = query.log$&lt;BR /&gt;
here we are giving till Log4NetLogs no giving 109\PH because we need to read after Log4netlogs all the files which start with appserverdbconnect&lt;BR /&gt;
[default]&lt;BR /&gt;
host = BLRVMDBENAPP01&lt;/P&gt;

&lt;P&gt;[monitor://D:\HotelHub\Log4NetLogs]&lt;BR /&gt;
disable = 0&lt;BR /&gt;
index=main&lt;BR /&gt;
ignoreOlderThan= 1d&lt;BR /&gt;
sourcetype=UFBETA_DbconnectInfo&lt;BR /&gt;
index=UFBETA&lt;BR /&gt;
whitelist = AppServerDbconnectInfo.txt$&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:33:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251496#M21507</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2020-09-29T12:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: monitor particular log in universal forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251497#M21508</link>
      <description>&lt;P&gt;Thank you all&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 17:03:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/monitor-particular-log-in-universal-forwarder/m-p/251497#M21508</guid>
      <dc:creator>puneethgowda</dc:creator>
      <dc:date>2017-02-06T17:03:10Z</dc:date>
    </item>
  </channel>
</rss>

