<?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 query added to eventlog does not work in HPE 3PAR StoreServ Storage</title>
    <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162565#M7476</link>
    <description>&lt;P&gt;I'm trying right out of the 1.6.15 developer guide.&amp;nbsp; If I run:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://&amp;lt;storage_system&amp;gt;:8080/api/v1/eventlog/minutes:10 | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;I get back event logs from the last ten minutes.&amp;nbsp; If I try to add a query to get critical events:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://&amp;lt;storage_system&amp;gt;:8080/api/v1/eventlog/minutes:10?query="severity EQ 2" | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;I get back:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "code": 65,
  "desc": "invalid HTTP request"
}&lt;/LI-CODE&gt;&lt;P&gt;Any ideas on how to add queries to the call?&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 09:05:51 GMT</pubDate>
    <dc:creator>BradV</dc:creator>
    <dc:date>2022-03-24T09:05:51Z</dc:date>
    <item>
      <title>query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162565#M7476</link>
      <description>&lt;P&gt;I'm trying right out of the 1.6.15 developer guide.&amp;nbsp; If I run:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://&amp;lt;storage_system&amp;gt;:8080/api/v1/eventlog/minutes:10 | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;I get back event logs from the last ten minutes.&amp;nbsp; If I try to add a query to get critical events:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://&amp;lt;storage_system&amp;gt;:8080/api/v1/eventlog/minutes:10?query="severity EQ 2" | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;I get back:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "code": 65,
  "desc": "invalid HTTP request"
}&lt;/LI-CODE&gt;&lt;P&gt;Any ideas on how to add queries to the call?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 09:05:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162565#M7476</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2022-03-24T09:05:51Z</dc:date>
    </item>
    <item>
      <title>Query: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162572#M7477</link>
      <description>&lt;P style="margin: 0;"&gt;&lt;STRONG&gt;System recommended content:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;1. &lt;A href="https://community.hpe.com/hpeb/plugins/custom/hp/hpebresponsive/article_click_sprinklr_bot?clickData=eyJxdWVyeVBpcGVsaW5lIjoiU3ByaW5rbHItQXV0b21hdGlvbiIsImRvY3VtZW50VXJpSGFzaCI6IjU1eHl6aGlESU0yY3RWa3QiLCJzb3VyY2VOYW1lIjoiY2RwLWttLWRvY3VtZW50LXByby1oNC12MiIsImRvY3VtZW50VGl0bGUiOiJTUUwvTVg6IFZpc3VhbCBRdWVyeSBQbGFubmVyIGhlbHAgZG9lcyBub3Qgd29yayB3aXRoIFdpbmRvd3MgMTAiLCJhcnRpY2xlQ2xpY2tVcmwiOiJodHRwczovL3N1cHBvcnQuaHBlLmNvbS9ocGVzYy9wdWJsaWMvZG9jRGlzcGxheT9kb2NJZD1uczIwMDY0NjMyMTMxMmVuX3VzIiwic2VhcmNoUXVlcnlVaWQiOiJjYmM4ZTA0YS0zYzQwLTQwZjUtYWYxNi1lNDUyOTE2ZGFkYmEifQ==" target="_blank" rel="noopener"&gt;SQL/MX: Visual Query Planner help does not work with Windows 10&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Please click on "Thumbs Up/Kudo" icon to give a "Kudo".&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Thank you for being a HPE valuable community member.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 13:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162572#M7477</guid>
      <dc:creator>support_s</dc:creator>
      <dc:date>2022-03-16T13:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Query: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162583#M7478</link>
      <description>&lt;P&gt;I don't have nonstop access.&amp;nbsp; I had my account support manager look and the referenced link has nothing to do with my query.&amp;nbsp; I'm not using Windows of any kind.&amp;nbsp; I'm not using SQL/MX visual query planner.&amp;nbsp; I'm trying to make a API call to a 3PAR array.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 14:36:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162583#M7478</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2022-03-16T14:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162950#M7487</link>
      <description>&lt;P&gt;Hi BradV&lt;/P&gt;&lt;P&gt;The syntax looks to be fine (even though I am not sure whether the jq -r required or not). Could you change the severity 4 (or change the time frame to 120 minutes) and see whether it retrieves any info?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Veeyaarvi&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 07:58:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162950#M7487</guid>
      <dc:creator>veeyarvi</dc:creator>
      <dc:date>2022-03-22T07:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162966#M7488</link>
      <description>&lt;P&gt;Complete syntax that I am using:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;USERN=&amp;lt;my account&amp;gt;
PASSW=&amp;lt;my password&amp;gt;
STORSRV=&amp;lt;fqdn of 3par&amp;gt;
sessionID=$(curl --insecure \
   --header "content-type: application/json" \
   --header "accept: application/json" \
   --data '{"user":"'"${USERN}"'","password":"'"${PASSW}"'","sessionType":1}' \
   --request POST https://${STORSRV}:8080/api/v1/credentials | \
   jq -r '.key')
curl -s --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;which works and provides all of the event logs.&amp;nbsp; If I add a time frame:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -s --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog/minutes:1000 | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;That works.&amp;nbsp; Then if I add a query (Note: from the previous command I saw many events with severity 6):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -s --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog/minutes:1000?query="severity EQ 6" | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;I get back:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "code": 65,
  "desc": "invalid HTTP request"
}&lt;/LI-CODE&gt;&lt;P&gt;In some OneView REST API calls, I have noted a diffence between what the documentation says relative to whitespace and other special characters vs what actually works.&amp;nbsp; So, I tried:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -s --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog/minutes:1000?query="severity&amp;amp;nbspEQ&amp;amp;nbsp6" | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;but that just returns:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "code": 148,
  "desc": "Invalid Query String"
}&lt;/LI-CODE&gt;&lt;P&gt;I've also tried:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -s --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/vluns | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;and that works.&amp;nbsp; When I try to query for a specific hostname (which I saw in the previous output):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -s --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/vluns?query="hostname EQ myhost" | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;I get back:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "code": 65,
  "desc": "invalid HTTP request"
}&lt;/LI-CODE&gt;&lt;P&gt;So, I'm not sure that the documented query syntax is correct?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 10:08:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7162966#M7488</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2022-03-22T10:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7163149#M7489</link>
      <description>&lt;P&gt;Hi BradV,&lt;/P&gt;&lt;P&gt;The syntax looks okay. Could you try the below&lt;BR /&gt;&lt;BR /&gt;curl -s --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog/minutes:1000?query="severity EQ 'Critical'" | jq -r '.'&lt;BR /&gt;curl -s --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog/minutes:1000?query="severity EQ 'CRITICAL'" | jq -r '.'&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Veeyaarvi&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 09:04:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7163149#M7489</guid>
      <dc:creator>veeyarvi</dc:creator>
      <dc:date>2022-03-24T09:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7163174#M7490</link>
      <description>&lt;P&gt;I tried it both ways that you showed and then I tried it without the single quotes around critical.&amp;nbsp; All four tests came back with invalid HTTP request.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 15:06:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7163174#M7490</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2022-03-24T15:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7163326#M7497</link>
      <description>&lt;P&gt;Hi BradV,&lt;BR /&gt;&lt;BR /&gt;It does not look to be any syntax issues in the developer guide. We see the same with the developer guide of the later 1.8 guide also&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.hpe.com/hpesc/public/docDisplay?docId=a00088912en_us&amp;amp;docLocale=en_US" target="_blank"&gt;Document - HPE Primera Web Services API 1.8 Developer Guide | HPE Support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Page 61&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Examples&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Separate multiple values using a comma, and multiple expressions using the AND operator. All examples use the HTTPS GET&lt;/SPAN&gt;&lt;SPAN&gt;method with the referenced URI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;•&lt;/SPAN&gt;&lt;SPAN class=""&gt;Request Critical events that occurred within the last 10 minutes:&lt;/SPAN&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;storage_system&amp;gt;{:443}&lt;/SPAN&gt;&lt;SPAN&gt;/api/v1/eventlog/minutes:10?query="severity EQ&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;•&lt;/SPAN&gt;&lt;SPAN&gt;Request notification of events in last 5 minutes using resource and category filters:&lt;/SPAN&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;storage_system&amp;gt;{:443}&lt;/SPAN&gt;&lt;SPAN&gt;/api/v1/eventlog/minutes:&lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;?query="resource EQ&lt;/SPAN&gt;&lt;SPAN&gt;1,2,3&lt;/SPAN&gt;&lt;SPAN&gt; AND category EQ &lt;/SPAN&gt;&lt;SPAN&gt;1,2&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;•&lt;/SPAN&gt;&lt;SPAN&gt;Request event information for multiple categories:&lt;/SPAN&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;storage_system&amp;gt;{:443}&lt;/SPAN&gt;&lt;SPAN&gt;/api/v1/eventlog?query="category EQ &lt;/SPAN&gt;&lt;SPAN&gt;1,2&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;•&lt;/SPAN&gt;&lt;SPAN&gt;Request event information for multiple resources:&lt;/SPAN&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;storage_system&amp;gt;{:443}&lt;/SPAN&gt;&lt;SPAN&gt;/api/v1/eventlog?query="resource EQ &lt;/SPAN&gt;&lt;SPAN&gt;1,3&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;•&lt;/SPAN&gt;&lt;SPAN&gt;Request event information within a specific time frame:&lt;/SPAN&gt;&lt;SPAN&gt;https://&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;storage_system&amp;gt;{:443}&lt;/SPAN&gt;&lt;SPAN&gt;/api/v1/eventlog?query="&lt;/SPAN&gt;&lt;SPAN&gt;time GE 2017-03-20&lt;/SPAN&gt;&lt;SPAN&gt;02:30:00 AND time LE 2017-03-20 02:35:00&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 14:44:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7163326#M7497</guid>
      <dc:creator>veeyarvi</dc:creator>
      <dc:date>2022-03-28T14:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164131#M7526</link>
      <description>&lt;P class="lia-align-left"&gt;Well, not sure why the documentation says that.&amp;nbsp; It does not work.&amp;nbsp; I tried each of your examples and get back:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "code": 65,
  "desc": "invalid HTTP request"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed that you specified port 443 in your examples, but I do not get any response from port 443.&amp;nbsp; I do from port 8080.&amp;nbsp; Has anyone at HPE actually tried any of these examples against a real 3PAR storeserv?&lt;/P&gt;&lt;P&gt;Table 5 on page 28 of 1.8 API guide says error code 65 means:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;The request line (first line) of an&lt;BR /&gt;HTTP request does not comply with&lt;BR /&gt;the form specified for “Request-&lt;BR /&gt;Line” in RFC 2616.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So, I added&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;--request GET&lt;/LI-CODE&gt;&lt;P&gt;to the curl command, but that just gave the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 10:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164131#M7526</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2022-04-12T10:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164135#M7528</link>
      <description>&lt;P&gt;I ran:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -s --insecure -header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" --request GET https://${STORSRV}:8080/api/v1/eventlog/minutes:100 | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;and got back:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "members": [],
  "total": 0
}&lt;/LI-CODE&gt;&lt;P&gt;So, I upped the value to 1000 and got back events.&amp;nbsp; I did see several category 1 events.&amp;nbsp; So, I tried to add that to the query:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;eventlog/minutes:1000?query="category EQ 1" | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;but got back error code 65.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 10:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164135#M7528</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2022-04-12T10:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164142#M7531</link>
      <description>&lt;P&gt;Hi BradV&lt;/P&gt;&lt;P&gt;Yes, it is working in plain curl.&amp;nbsp; (Also the port number 443 is for https and those examples are from the Primera. 3par it is 8080 only (Basically you might not need to give the port number also).&lt;/P&gt;&lt;P&gt;And, it seems the issue is with the http/jason client. It needs the ASCII values instead of blank space, " etc.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Could you try the same?&lt;/P&gt;&lt;P&gt;curl -s --insecure --header "X-HP3PAR-WSAPI-SessionKey: &amp;lt;key&amp;gt;" &amp;lt;Array&amp;gt;api/v1/eventlog/minutes:1000?query=%22severity%20EQ%206%22 | jq -r '.'&lt;/P&gt;&lt;P&gt;%22 is for "&lt;BR /&gt;%20 is for SPACE&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veeyarvi&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 12:28:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164142#M7531</guid>
      <dc:creator>veeyarvi</dc:creator>
      <dc:date>2022-04-12T12:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164219#M7533</link>
      <description>&lt;P&gt;Well, that gives:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "code": 148,
  "desc": "Invalid Query String"
}&lt;/LI-CODE&gt;&lt;P&gt;I also tried changing the '%22' back to ", but that also gave back code 148.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 08:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164219#M7533</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2022-04-13T08:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164220#M7534</link>
      <description>&lt;P&gt;Hi BradV,&lt;/P&gt;&lt;P&gt;Could you share the complete query and the output?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Veeyarvi&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 08:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164220#M7534</guid>
      <dc:creator>veeyarvi</dc:creator>
      <dc:date>2022-04-13T08:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164569#M7551</link>
      <description>&lt;P&gt;Sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;USERN=myid
PASSW='mypassword'
STORSRV='my-storserv.com'
sessionID=$(curl --insecure --header "content-type: application/json" \
  --header "accept: applicatoin/json" \
  --data '{"user":"'"${USERN}"'","password":"'"${PASSW}"'","sessionType":1}' \
  --request PSOT https://${STORSRV}:8080/api/v1/credentials | jq -r '.key')
echo ${sessionID}
curl --silent --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog/minutes:1000?%22category%20EQ%201%22 | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;and get output:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "code": 148,
  "desc": "Invalid Query String"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 09:11:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164569#M7551</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2022-04-20T09:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164594#M7553</link>
      <description>&lt;P&gt;I missed a "query'" in that string.&amp;nbsp; Modifying to:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl --silent --insecure --header "X-HP3PAR-WSAPI-SessionKey: ${sessionID}" https://${STORSRV}:8080/api/v1/eventlog/minutes:1000?query=%22category%20EQ%201%22 | jq -r '.'&lt;/LI-CODE&gt;&lt;P&gt;gets me back the correct values.&lt;/P&gt;&lt;P&gt;Could you please make sure they update the documentation to reflect this required character substition?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 12:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7164594#M7553</guid>
      <dc:creator>BradV</dc:creator>
      <dc:date>2022-04-20T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7165417#M7563</link>
      <description>&lt;P&gt;Hi BradV,&lt;/P&gt;&lt;P&gt;Nice to see it worked.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As mentioned before, the syntax given in the guide are for plain curl and they work. And when we use the http/json client&amp;nbsp; need to enclode the url in ASCII format.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Veeyarvi&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 07:28:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7165417#M7563</guid>
      <dc:creator>veeyarvi</dc:creator>
      <dc:date>2022-05-03T07:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: query added to eventlog does not work</title>
      <link>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7166096#M7576</link>
      <description>&lt;P&gt;Hi BradV,&lt;/P&gt;
&lt;P&gt;Just to add, we can use the switch&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;'--data-urlencode' with the clients and thus avoid providing the ASCII values.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;e.g.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;curl&amp;nbsp;-G&amp;nbsp;-k&amp;nbsp;-H&amp;nbsp;'Content-Type:&amp;nbsp;application/json'&amp;nbsp;-H&amp;nbsp;'Content-Type:&amp;nbsp;application/json'&amp;nbsp;-H&amp;nbsp;"X-HP3PAR-WSAPI-Sessionkey:${key}"&amp;nbsp;-X&amp;nbsp;GET&amp;nbsp;&amp;nbsp;--data-urlencode&amp;nbsp;'query="severity&amp;nbsp;EQ&amp;nbsp;6"'&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 16:11:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-3par-storeserv-storage/query-added-to-eventlog-does-not-work/m-p/7166096#M7576</guid>
      <dc:creator>veeyarvi</dc:creator>
      <dc:date>2023-08-23T16:11:31Z</dc:date>
    </item>
  </channel>
</rss>

