<?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: Can not get agent configuration in wazuh app for splunk in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453950#M55830</link>
    <description>&lt;P&gt;Hi @vlvov,&lt;/P&gt;

&lt;P&gt;In order to check if you currently have group configurations, please, execute the following &lt;EM&gt;curl&lt;/EM&gt; commands to Wazuh API and paste here the results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Get your list of groups:
curl -u &amp;lt;api-user&amp;gt;:&amp;lt;api-pass&amp;gt; http(s)://&amp;lt;wazuh-api-address&amp;gt;:&amp;lt;wazuh-api-port&amp;gt;/agents/groups?pretty
Example:
curl -u foo:bar &lt;A href="http://10.0.0.5:55000/agents/groups?pretty" target="test_blank"&gt;http://10.0.0.5:55000/agents/groups?pretty&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Get the content of configuration files on each group:
curl -u &amp;lt;api-user&amp;gt;:&amp;lt;api-pass&amp;gt; http(s)://&amp;lt;wazuh-api-address&amp;gt;:&amp;lt;wazuh-api-port&amp;gt;/agents/groups/&amp;lt;group-name&amp;gt;/files/agent.conf?pretty
Example:
curl -u foo:bar &lt;A href="http://10.0.0.5:55000/agents/groups/default/files/agent.conf?pretty" target="test_blank"&gt;http://10.0.0.5:55000/agents/groups/default/files/agent.conf?pretty&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks for your patience,&lt;/P&gt;

&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jul 2018 10:52:37 GMT</pubDate>
    <dc:creator>wazuh</dc:creator>
    <dc:date>2018-07-24T10:52:37Z</dc:date>
    <item>
      <title>Can not get agent configuration in wazuh app for splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453949#M55829</link>
      <description>&lt;P&gt;Hi all, a have a some problem in using wazuh app (3.3.1), when i successfully connect wazuh manager in splunk app  by api, a want to get agent configuration in agent-&amp;gt;configuration (wazuh app), but when i choose some agent a got nothing information.&lt;BR /&gt;
/opt/splunk/var/log/splunk/web_access.log  give me some inform like this when i trying get config info from web splunk(Credentials info was removed from this):&lt;BR /&gt;
...&lt;BR /&gt;
127.0.0.1 - admin [23/Jul/2018:02:32:27.002 -0700] "GET /en-GB/custom/SplunkAppForWazuh/agents/info?ip=MANAGER_FQDN&amp;amp;port=PORT&amp;amp;user=USER&amp;amp;pass=PASS&amp;amp;id=029&amp;amp;&lt;EM&gt;=1532339993775 HTTP/1.1" 200 407 "" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" - 5b55a0ab222f221475ca50 890ms&lt;BR /&gt;
127.0.0.1 - admin [23/Jul/2018:02:32:27.900 -0700] "GET /en-GB/custom/SplunkAppForWazuh/agents/group_configuration?ip=MANAGER_FQDN&amp;amp;port=PORT&amp;amp;user=USER&amp;amp;pass=PASS&amp;amp;id=host&amp;amp;&lt;/EM&gt;=1532339993776 HTTP/1.1" 200 68 "" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" - 5b55a0ab222f225853d350 436ms&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453949#M55829</guid>
      <dc:creator>vlvov</dc:creator>
      <dc:date>2020-09-29T20:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can not get agent configuration in wazuh app for splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453950#M55830</link>
      <description>&lt;P&gt;Hi @vlvov,&lt;/P&gt;

&lt;P&gt;In order to check if you currently have group configurations, please, execute the following &lt;EM&gt;curl&lt;/EM&gt; commands to Wazuh API and paste here the results:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Get your list of groups:
curl -u &amp;lt;api-user&amp;gt;:&amp;lt;api-pass&amp;gt; http(s)://&amp;lt;wazuh-api-address&amp;gt;:&amp;lt;wazuh-api-port&amp;gt;/agents/groups?pretty
Example:
curl -u foo:bar &lt;A href="http://10.0.0.5:55000/agents/groups?pretty" target="test_blank"&gt;http://10.0.0.5:55000/agents/groups?pretty&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Get the content of configuration files on each group:
curl -u &amp;lt;api-user&amp;gt;:&amp;lt;api-pass&amp;gt; http(s)://&amp;lt;wazuh-api-address&amp;gt;:&amp;lt;wazuh-api-port&amp;gt;/agents/groups/&amp;lt;group-name&amp;gt;/files/agent.conf?pretty
Example:
curl -u foo:bar &lt;A href="http://10.0.0.5:55000/agents/groups/default/files/agent.conf?pretty" target="test_blank"&gt;http://10.0.0.5:55000/agents/groups/default/files/agent.conf?pretty&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks for your patience,&lt;/P&gt;

&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 10:52:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453950#M55830</guid>
      <dc:creator>wazuh</dc:creator>
      <dc:date>2018-07-24T10:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can not get agent configuration in wazuh app for splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453951#M55831</link>
      <description>&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;request&lt;/P&gt;

&lt;P&gt;{&lt;BR /&gt;
   "error": 0,&lt;BR /&gt;
   "data": {&lt;BR /&gt;
      "totalItems": 3,&lt;BR /&gt;
      "items": [&lt;BR /&gt;
         {&lt;BR /&gt;
            "count": 0,&lt;BR /&gt;
            "conf_sum": "xxx",&lt;BR /&gt;
            "merged_sum": "yyy",&lt;BR /&gt;
            "name": "default"&lt;BR /&gt;
         },&lt;BR /&gt;
         {&lt;BR /&gt;
            "count": 49,&lt;BR /&gt;
            "conf_sum": "xxx1",&lt;BR /&gt;
            "merged_sum": "yyy1",&lt;BR /&gt;
            "name": "guest"&lt;BR /&gt;
         },&lt;BR /&gt;
         {&lt;BR /&gt;
            "count": 11,&lt;BR /&gt;
            "conf_sum": "xxx2",&lt;BR /&gt;
            "merged_sum": "yyy2",&lt;BR /&gt;
            "name": "host"&lt;BR /&gt;
         }&lt;BR /&gt;
      ]&lt;BR /&gt;
   }&lt;BR /&gt;
}&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;request in "guest"&lt;BR /&gt;
{&lt;BR /&gt;
"error": 0,&lt;BR /&gt;
"data": {&lt;BR /&gt;
  "totalItems": 1,&lt;BR /&gt;
  "items": [&lt;BR /&gt;
     {&lt;BR /&gt;
        "config": {},&lt;BR /&gt;
        "filters": {}&lt;BR /&gt;
     }&lt;BR /&gt;
  ]&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:35:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453951#M55831</guid>
      <dc:creator>vlvov</dc:creator>
      <dc:date>2020-09-29T20:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can not get agent configuration in wazuh app for splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453952#M55832</link>
      <description>&lt;P&gt;in "host" and "default" same response&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 16:20:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453952#M55832</guid>
      <dc:creator>vlvov</dc:creator>
      <dc:date>2018-07-24T16:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can not get agent configuration in wazuh app for splunk</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453953#M55833</link>
      <description>&lt;P&gt;Hi @vlvov,&lt;/P&gt;

&lt;P&gt;The reason you're not seeing any configuration is that the configuration group in your &lt;STRONG&gt;agent.conf&lt;/STRONG&gt; file is empty. You can check our official &lt;A href="https://documentation.wazuh.com/current/user-manual/reference/centralized-configuration.html"&gt;documentation&lt;/A&gt; in order to set a centralized configuration.  &lt;A href="https://documentation.wazuh.com/current/user-manual/reference/centralized-configuration.html"&gt;https://documentation.wazuh.com/current/user-manual/reference/centralized-configuration.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jul 2018 08:16:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-not-get-agent-configuration-in-wazuh-app-for-splunk/m-p/453953#M55833</guid>
      <dc:creator>wazuh</dc:creator>
      <dc:date>2018-07-25T08:16:46Z</dc:date>
    </item>
  </channel>
</rss>

