samurai29  
                (Sameer Khamkar)
               
                 
              
                  
                    November 24, 2022,  5:27am
                   
                   
              1 
               
             
            
              Hello There
I want to know which version of Graylog supports OpenSearch 1.2 & 1.3 ,  I tried to use 4.2.9 with OS1.3.6 it gives me error
2022-11-24 06:22:38,568 ERROR: org.graylog2.bootstrap.CmdLineTool -
################################################################################
ERROR: Unsupported Elasticsearch version: 1.0.0
where as I am using OS 1.3.6
can you please guide
Regards, 
SAM
             
            
               
               
               
            
            
           
          
            
              
                gsmith  
                (GSmith)
               
              
                  
                    November 24, 2022,  6:05am
                   
                   
              2 
               
             
            
              Hello @samurai29 
You may want to read the documentation found here 
Hope that helps
             
            
               
               
               
            
            
           
          
            
              
                m_mlk  
                
               
              
                  
                    November 25, 2022, 11:00am
                   
                   
              3 
               
             
            
              Hi @gsmith 
I already run GL 4.3.9 + OpenSearch 1.3.3 since some time ago now; in fact, only GL has been upgraded as new versions have been announced but OS has been pinned to v1.3.3. 
I see that OS 1.3.6 is already available from the CentOS repos… Is it safe to upgrade to 1.3.6 or do I need to stick to 1.3.3?
Thanks!
             
            
               
               
               
            
            
           
          
            
              
                samurai29  
                (Sameer Khamkar)
               
              
                  
                    November 25, 2022, 11:41am
                   
                   
              4 
               
             
            
              @m_mlk 
Just to inform you , I am using Graylog 4.3.0 with Mongo 4.4.16 & OS 1.3.6 its working fine for us.
             
            
               
               
              1 Like 
            
            
           
          
            
              
                m_mlk  
                
               
              
                  
                    November 25, 2022, 11:42am
                   
                   
              5 
               
             
            
              thanks @samurai29  !
Then I guess it’s time to run some upgrades in the system 
Cheers
             
            
               
               
               
            
            
           
          
            
              
                gsmith  
                (GSmith)
               
              
                  
                    November 25, 2022, 10:08pm
                   
                   
              6 
               
             
            
              Hey @m_mlk 
My old GL server was just upgrade about a month ago from es-7.10 to OpenSearch 1.3.6 I dont have a issue.
[root@graylog securityconfig]# curl -XGET localhost:9200/
{
  "name" : "graylog.domain.com",
  "cluster_name" : "graylog",
  "cluster_uuid" : "OMgi3eu5QGiJ3buKOYn4_w",
  "version" : {
    "distribution" : "opensearch",
    "number" : "1.3.6",
    "build_type" : "rpm",
    "build_hash" : "cbf74db21db3eb4d79c43caeafc23eec592bf697",
    "build_date" : "2022-10-04T20:26:20.628416Z",
    "build_snapshot" : false,
    "lucene_version" : "8.10.1",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}
[root@graylog securityconfig]#
 
Guess the question is, do you really need to upgrade?  Unless its a security issue or a  software issue.
             
            
               
               
               
            
            
           
          
            
              
                m_mlk  
                
               
              
                  
                    November 28, 2022,  8:11am
                   
                   
              7 
               
             
            
              Hi @gsmith 
hmm… this is how it looks like for me:
$ curl -XGET http://$(hostname):9200/
{
  "name" : "graylog.domain.tld",
  "cluster_name" : "opensearch-cluster",
  "cluster_uuid" : "jgh6IIgfTRKhzUARzspWoA",
  "version" : {
    "distribution" : "opensearch",
    "number" : "1.3.3",
    "build_type" : "rpm",
    "build_hash" : "6d63fc707f6010c5980ec5cb51324856caf1f03d",
    "build_date" : "2022-06-07T15:26:41.852565Z",
    "build_snapshot" : false,
    "lucene_version" : "8.10.1",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "The OpenSearch Project: https://opensearch.org/"
}
 
I see that the only significant change between your output and mine is the OS version… still, there seem to me some bug fixes that could make it worth upgrading: opensearch-build/opensearch-release-notes-1.3.6.md at main · opensearch-project/opensearch-build · GitHub 
Cheers
             
            
               
               
              1 Like 
            
            
           
          
            
              
                m_mlk  
                
               
              
                  
                    November 28, 2022,  9:32pm
                   
                   
              8 
               
             
            
              Hi all,
FYI - the upgrade was 99% flawless. 
I didn’t keep in mind the prometheus-exporter (old: v.1.3.3), which needs to match the OpenSearch version (new: v1.3.6).
The solution was pretty simple though:
/usr/share/opensearch/bin/opensearch-plugin remove prometheus-exporter
/usr/share/opensearch/bin/opensearch-plugin install https://github.com/aiven/prometheus-exporter-plugin-for-opensearch/releases/download/1.3.6.0/prometheus-exporter-1.3.6.0.zip
 
and then:
systemctl restart opensearch.service
 
Cheers
             
            
               
               
               
            
            
           
          
            
              
                gsmith  
                (GSmith)
               
              
                  
                    November 28, 2022, 10:08pm
                   
                   
              9 
               
             
            
              @m_mlk 
Awesome glad it worked out for ya 
             
            
               
               
              1 Like 
            
            
           
          
            
              
                system  
                (system)
                  Closed 
               
              
                  
                    December 12, 2022, 10:08pm
                   
                   
              10 
               
             
            
              This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.