<?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: monitoring directory files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448233#M77936</link>
    <description>&lt;P&gt;Your image of the data is broken.  Please try copy-paste rather than inserting an image.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Sep 2018 11:20:00 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2018-09-11T11:20:00Z</dc:date>
    <item>
      <title>monitoring directory files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448232#M77935</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;
Need help with monitoring &lt;BR /&gt;
We monitor the directory and load from the text files the data of the following format:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://immage.biz/image/SVoO"&gt;http://immage.biz/image/SVoO&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;We need to complete the record of information about the IP address with resolve by name of the PC (armName) after adding the event data.&lt;BR /&gt;
How to make such an enrichment and also remove some of the fields that do not carry useful information for us?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 07:31:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448232#M77935</guid>
      <dc:creator>neroi</dc:creator>
      <dc:date>2018-09-11T07:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring directory files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448233#M77936</link>
      <description>&lt;P&gt;Your image of the data is broken.  Please try copy-paste rather than inserting an image.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 11:20:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448233#M77936</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-09-11T11:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring directory files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448234#M77937</link>
      <description>&lt;P&gt;thanks for your comment.&lt;BR /&gt;
Edited&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 12:17:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448234#M77937</guid>
      <dc:creator>neroi</dc:creator>
      <dc:date>2018-09-11T12:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring directory files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448235#M77938</link>
      <description>&lt;P&gt;You can enrich your data using &lt;CODE&gt;lookup&lt;/CODE&gt; using either DNS or a local lookup file.  To use DNS:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | lookup dnslookup clienthost as armName OUTPUT clientip as armIP | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To use a local file you will need a CSV file with two fields: armName and armIP.  Upload that file to your search head and use this SPL:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | lookup armlookup.csv armName OUTPUT armIP | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Use the &lt;CODE&gt;fields&lt;/CODE&gt; command to remove unwanted fields at search time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | fields - field6 field7 | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There are ways to prevent indexing of fields at index time, but we'd have to know about how you ingest this file.  Share your props.conf settings, if you can.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 15:17:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448235#M77938</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-09-11T15:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring directory files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448236#M77939</link>
      <description>&lt;P&gt;Hello! Thank you for answer.&lt;/P&gt;

&lt;P&gt;We use the first method now. But it gets the value of the address at the current moment when the search query occurs. And we need to store the value obtained at the time of receiving the data.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 13:14:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448236#M77939</guid>
      <dc:creator>neroi</dc:creator>
      <dc:date>2018-09-12T13:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring directory files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448237#M77940</link>
      <description>&lt;P&gt;any comment to this question?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 08:58:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/monitoring-directory-files/m-p/448237#M77940</guid>
      <dc:creator>neroi</dc:creator>
      <dc:date>2018-09-18T08:58:15Z</dc:date>
    </item>
  </channel>
</rss>

