<?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: Setting Host field value based on a file inside a tar archive in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Setting-Host-field-value-based-on-a-file-inside-a-tar-archive/m-p/97221#M182576</link>
    <description>&lt;P&gt;Yeah, I know how to set the host name based on a segment of the filename, but in this case the filename is the name of the tar file and the hostname is part of a filename inside the tar file.&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2011 15:20:59 GMT</pubDate>
    <dc:creator>jstockamp</dc:creator>
    <dc:date>2011-05-09T15:20:59Z</dc:date>
    <item>
      <title>Setting Host field value based on a file inside a tar archive</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Setting-Host-field-value-based-on-a-file-inside-a-tar-archive/m-p/97219#M182574</link>
      <description>&lt;P&gt;I've got access combined logs from a farm of x number of servers tarred up on a daily basis.  So the tar file looks like this:&lt;/P&gt;

&lt;P&gt;todayslogs.tar&lt;BR /&gt;
-&amp;gt; appserver1.log&lt;BR /&gt;
-&amp;gt; appserver2.log&lt;BR /&gt;
-&amp;gt; appserver3.log&lt;/P&gt;

&lt;P&gt;How can I tell splunk to use the host name inside the tar file as the host field?  I'd really rather not untar the archive before ingesting it.  Surely this has to be possible.&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2011 06:42:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Setting-Host-field-value-based-on-a-file-inside-a-tar-archive/m-p/97219#M182574</guid>
      <dc:creator>jstockamp</dc:creator>
      <dc:date>2011-05-07T06:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Host field value based on a file inside a tar archive</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Setting-Host-field-value-based-on-a-file-inside-a-tar-archive/m-p/97220#M182575</link>
      <description>&lt;P&gt;another post which might be useful to you:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/7102/host-based-on-filename"&gt;Host Based on filename&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2011 09:13:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Setting-Host-field-value-based-on-a-file-inside-a-tar-archive/m-p/97220#M182575</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2011-05-08T09:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Host field value based on a file inside a tar archive</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Setting-Host-field-value-based-on-a-file-inside-a-tar-archive/m-p/97221#M182576</link>
      <description>&lt;P&gt;Yeah, I know how to set the host name based on a segment of the filename, but in this case the filename is the name of the tar file and the hostname is part of a filename inside the tar file.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2011 15:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Setting-Host-field-value-based-on-a-file-inside-a-tar-archive/m-p/97221#M182576</guid>
      <dc:creator>jstockamp</dc:creator>
      <dc:date>2011-05-09T15:20:59Z</dc:date>
    </item>
  </channel>
</rss>

