<?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: GeoASN app search generates red error bar. How to resolve? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76791#M4850</link>
    <description>&lt;P&gt;I did a GeoASN install in a distributed environment today and had sismilar problems.&lt;BR /&gt;
&lt;STRONG&gt;Solution&lt;/STRONG&gt;: Install all the components (listed in the README) and the app on all searchheads &lt;EM&gt;and&lt;/EM&gt; indexers.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Apr 2018 12:45:46 GMT</pubDate>
    <dc:creator>jonrsplunk</dc:creator>
    <dc:date>2018-04-04T12:45:46Z</dc:date>
    <item>
      <title>GeoASN app search generates red error bar. How to resolve?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76786#M4845</link>
      <description>&lt;P&gt;I've got the GeoASN application installed in our distributed environment(4 indexers so far 1 search head) running the script seems to be generating the generic red error bar saying "results may be incorrect"&lt;BR /&gt;
Search used:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=www sourcetype=access_combined splunk_server="splunk*-d*" | lookup ga ip AS clientip | stats count by country, org
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;error is as follows&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Script for lookup table 'ga' returned error code 1. Results may be incorrect
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How do we go about troubleshooting this and resolving the error? I am checking python.log web_access and web_service so far nothing pops out as to what the problem is.&lt;BR /&gt;
basically want to either resolve or in the meantime squelsh the error until we can resolve it.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:57:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76786#M4845</guid>
      <dc:creator>sonicZ</dc:creator>
      <dc:date>2020-09-28T11:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: GeoASN app search generates red error bar. How to resolve?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76787#M4846</link>
      <description>&lt;P&gt;I got the same error message as you, you will need to install GeoIP and GeoIP python module&lt;BR /&gt;
take a look in /opt/splunk/etc/apps/GeoASN/README &lt;/P&gt;

&lt;P&gt;after that verify that this command works&lt;BR /&gt;
/opt/splunk/bin/splunk cmd python ga.py &amp;lt; ga.csv&lt;/P&gt;

&lt;P&gt;you also need to include the field src_asn in the search results.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2012 23:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76787#M4846</guid>
      <dc:creator>cnygaard</dc:creator>
      <dc:date>2012-07-04T23:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: GeoASN app search generates red error bar. How to resolve?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76788#M4847</link>
      <description>&lt;P&gt;There seems to be a problem with character encoding. i.e. if you lookup countries like "Curaçao", the script will fail because of "ç"&lt;/P&gt;

&lt;P&gt;I worked around the problem by changing following line in "ga.py":&lt;/P&gt;

&lt;P&gt;replace line: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;line[countryi] = unicode(gir['country_name'])
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;with following two lines:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;t = gir['country_name'].decode('cp1252')
line[countryi] = unicode(t)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Oct 2013 10:26:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76788#M4847</guid>
      <dc:creator>mathu</dc:creator>
      <dc:date>2013-10-20T10:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: GeoASN app search generates red error bar. How to resolve?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76789#M4848</link>
      <description>&lt;P&gt;This has to be deployed to all of the python scripts.  i.e. for geoasn.py:&lt;/P&gt;

&lt;P&gt;before:&lt;BR /&gt;
line[src_countryi] = unicode(src_gir['country_name'])&lt;/P&gt;

&lt;P&gt;after:&lt;BR /&gt;
            t = src_gir['country_name'].decode('cp1252')&lt;BR /&gt;
            line[src_countryi] = unicode(t)&lt;/P&gt;

&lt;P&gt;and&lt;/P&gt;

&lt;P&gt;before:&lt;BR /&gt;
line[dest_countryi] = unicode(dest_gir['country_name'])&lt;/P&gt;

&lt;P&gt;after:&lt;BR /&gt;
           t = dest_gir['country_name'].decode('cp1252')&lt;BR /&gt;
           line[dest_countryi] = unicode(t)&lt;/P&gt;

&lt;P&gt;Thank you for solving my problem as well.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76789#M4848</guid>
      <dc:creator>myron_davis</dc:creator>
      <dc:date>2020-09-28T17:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: GeoASN app search generates red error bar. How to resolve?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76790#M4849</link>
      <description>&lt;P&gt;Unfortunately I tried this solution and it still doesn't fix my issue. I followed the guide step by step and was still unable to get it to work. &lt;/P&gt;

&lt;P&gt;The weird thing is that it works through the command line however it does not work at the search bar &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; not sure what else to do.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 18:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76790#M4849</guid>
      <dc:creator>theeansible</dc:creator>
      <dc:date>2017-06-29T18:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: GeoASN app search generates red error bar. How to resolve?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76791#M4850</link>
      <description>&lt;P&gt;I did a GeoASN install in a distributed environment today and had sismilar problems.&lt;BR /&gt;
&lt;STRONG&gt;Solution&lt;/STRONG&gt;: Install all the components (listed in the README) and the app on all searchheads &lt;EM&gt;and&lt;/EM&gt; indexers.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 12:45:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/GeoASN-app-search-generates-red-error-bar-How-to-resolve/m-p/76791#M4850</guid>
      <dc:creator>jonrsplunk</dc:creator>
      <dc:date>2018-04-04T12:45:46Z</dc:date>
    </item>
  </channel>
</rss>

