Is there a way to target a daily index from Watcher's index_payload action
something like this
"actions" : {
    "index_payload" : { 
    "transform": { ... },
    "index" : {
      "index" : "my-index-{{year}}.{{month}}.{{day}}", 
      "doc_type" : "my-type" 
    }
  }
} 
             
            
               
               
               
            
            
           
          
            
              
                spinscale  
                (Alexander Reelsen)
               
              
                  
                    December 5, 2016,  1:36pm
                   
                   
              2 
               
             
            
              Hey,
yes, you can use date math  for your index names.
I'll move this over to the watcher forum as well.
--Alex
             
            
               
               
               
            
            
           
          
            
            
              ok thanks for the hint. 
I managed to find a slightly better reference. 
https://www.elastic.co/guide/en/elasticsearch/reference/current/date-math-index-names.html 
so that gives an index definition that looks like this
"index": {
  "index": "<my-index-{now/d}>",
  "doc_type": "my-type"
} 
             
            
               
               
               
            
            
           
          
            
              
                system  
                (system)
                  Closed 
               
              
                  
                    January 2, 2017,  2:57pm
                   
                   
              4 
               
             
            
              This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.