<?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 configure Splunk to log IP information from Squid proxy servers? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-log-IP-information-from-Squid-proxy/m-p/230984#M44967</link>
    <description>&lt;P&gt;Hi everyone, I want to ask about Splunk and Squid proxy server&lt;BR /&gt;i have 3 proxies, let say:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;IP Proxy1: 192.168.1.10
IP Proxy2: 192.168.2.10
IP Proxy3: 192.168.3.10
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I searched the log using: &lt;CODE&gt;index=squid sourcetype=squid:access&lt;/CODE&gt; and i have results, but it's difficult to determine which results belong to Squid log for proxy1, proxy2, and proxy3.&lt;/P&gt;
&lt;P&gt;Is it the Splunk app that is installed on Squid proxy server not logging IP information of the Squid proxy server? Or did i misconfigured the app on the Squid proxy server so the IP server of the proxy not show up?&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 23:08:47 GMT</pubDate>
    <dc:creator>gijoesplunk</dc:creator>
    <dc:date>2025-01-30T23:08:47Z</dc:date>
    <item>
      <title>How to configure Splunk to log IP information from Squid proxy servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-log-IP-information-from-Squid-proxy/m-p/230984#M44967</link>
      <description>&lt;P&gt;Hi everyone, I want to ask about Splunk and Squid proxy server&lt;BR /&gt;i have 3 proxies, let say:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;IP Proxy1: 192.168.1.10
IP Proxy2: 192.168.2.10
IP Proxy3: 192.168.3.10
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I searched the log using: &lt;CODE&gt;index=squid sourcetype=squid:access&lt;/CODE&gt; and i have results, but it's difficult to determine which results belong to Squid log for proxy1, proxy2, and proxy3.&lt;/P&gt;
&lt;P&gt;Is it the Splunk app that is installed on Squid proxy server not logging IP information of the Squid proxy server? Or did i misconfigured the app on the Squid proxy server so the IP server of the proxy not show up?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 23:08:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-log-IP-information-from-Squid-proxy/m-p/230984#M44967</guid>
      <dc:creator>gijoesplunk</dc:creator>
      <dc:date>2025-01-30T23:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Spunk to log IP information from Squid proxy servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-log-IP-information-from-Squid-proxy/m-p/230985#M44968</link>
      <description>&lt;P&gt;Hi gijoesplunk,&lt;/P&gt;

&lt;P&gt;You should take a look this link:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.0/Admin/Inputsconf"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.0/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Specifically in the section:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host = &amp;lt;string&amp;gt;
* Sets the host key/field to a static value for this stanza.
* Primarily used to control the host field, which the input applies to events
  that come in through this input stanza.
* Detail: Sets the host key initial value. The input uses this key during
  parsing/indexing, in particular to set the host field. It also uses this
  field at search time.
* As a convenience, the input prepends the chosen string with 'host::'.
* WARNING: Do not put the &amp;lt;string&amp;gt; value in quotes. Use host=foo, not host="foo".
* If set to '$decideOnStartup', will be interpreted as hostname of executing
  machine; this will occur on each splunkd startup.
* If you run multiple instances of the software on the same system (hardware
  or virtual machine), choose unique values for 'host' to differentiate
  your data, e.g. myhost-sh-1 or myhost-idx-2.
* The literal default conf value is $decideOnStartup, but at installation
  time, the setup logic adds the local hostname as determined by DNS to the
  $SPLUNK_HOME/etc/system/local/inputs.conf default stanza, which is the
  effective default value.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I hope I have helped.&lt;/P&gt;

&lt;P&gt;Rodrigo Ribeiro&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 13:23:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-log-IP-information-from-Squid-proxy/m-p/230985#M44968</guid>
      <dc:creator>rodrigorsilva</dc:creator>
      <dc:date>2016-11-17T13:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Spunk to log IP information from Squid proxy servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-log-IP-information-from-Squid-proxy/m-p/230986#M44969</link>
      <description>&lt;P&gt;Hi Rodrigo,&lt;BR /&gt;
Thank's for the answer, i have re-check the search result, and yes i have found in host field.&lt;/P&gt;

&lt;P&gt;Now that make me confuse, from 3 proxy server only 1 proxy server parsing the squid log to the indexer.&lt;BR /&gt;
I don't know why the other 2 not parsing the squid log to the indexer.&lt;BR /&gt;
What should i check both from the indexer server and also from squid proxy server?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2016 07:44:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-log-IP-information-from-Squid-proxy/m-p/230986#M44969</guid>
      <dc:creator>gijoesplunk</dc:creator>
      <dc:date>2016-11-18T07:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Spunk to log IP information from Squid proxy servers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-log-IP-information-from-Squid-proxy/m-p/230987#M44970</link>
      <description>&lt;P&gt;Did you copy the &lt;CODE&gt;inputs.conf&lt;/CODE&gt; file from Proxy1 to the other two systems?&lt;/P&gt;

&lt;P&gt;If so, change the &lt;CODE&gt;host = Proxy1&lt;/CODE&gt; stanza on the other 2 systems with their respective hostnames and restart Splunk/UF service.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2016 09:34:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-log-IP-information-from-Squid-proxy/m-p/230987#M44970</guid>
      <dc:creator>miteshp250283</dc:creator>
      <dc:date>2016-11-18T09:34:29Z</dc:date>
    </item>
  </channel>
</rss>

